Correct unused-parameter warnings

This commit is contained in:
Ben RUBSON 2017-11-02 23:16:50 +01:00 committed by GitHub
parent 4e19edfd56
commit 92b209f7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 8 deletions

View File

@ -55,8 +55,6 @@ DirTraverse::DirTraverse(std::shared_ptr<DIR> _dirPtr, uint64_t _iv,
std::shared_ptr<NameIO> _naming)
: dir(std::move(_dirPtr)), iv(_iv), naming(std::move(_naming)) {}
DirTraverse::DirTraverse(const DirTraverse &src) = default;
DirTraverse &DirTraverse::operator=(const DirTraverse &src) = default;
DirTraverse::~DirTraverse() {

View File

@ -50,7 +50,6 @@ class DirTraverse {
public:
DirTraverse(std::shared_ptr<DIR> dirPtr, uint64_t iv,
std::shared_ptr<NameIO> naming);
DirTraverse(const DirTraverse &src);
~DirTraverse();
DirTraverse &operator=(const DirTraverse &src);

View File

@ -36,10 +36,6 @@ Interface::Interface(std::string name_, int Current, int Revision, int Age)
_revision(Revision),
_age(Age) {}
Interface::Interface(const Interface &src)
= default;
Interface::Interface() : _current(0), _revision(0), _age(0) {}
Interface &Interface::operator=(const Interface &src) = default;

View File

@ -38,7 +38,6 @@ class Interface {
*/
Interface(const char *name, int Current, int Revision, int Age);
Interface(std::string name, int Current, int Revision, int Age);
Interface(const Interface &src);
Interface();
// check if we implement the interface described by B.