Add override keyword on all derived functions:

This silences warnings on latest clang compiler.
This commit is contained in:
Howard Hinnant
2015-09-17 15:37:48 -04:00
committed by Edward Hennis
parent b2cf1e4c65
commit e1fc81f66f
22 changed files with 164 additions and 150 deletions

View File

@@ -37,7 +37,7 @@ public:
}
std::string
getName()
getName() override
{
return std::string ();
}
@@ -48,7 +48,7 @@ public:
}
Status
fetch (void const*, std::shared_ptr<NodeObject>*)
fetch (void const*, std::shared_ptr<NodeObject>*) override
{
return notFound;
}
@@ -67,22 +67,22 @@ public:
}
void
store (std::shared_ptr<NodeObject> const& object)
store (std::shared_ptr<NodeObject> const& object) override
{
}
void
storeBatch (Batch const& batch)
storeBatch (Batch const& batch) override
{
}
void
for_each (std::function <void(std::shared_ptr<NodeObject>)> f)
for_each (std::function <void(std::shared_ptr<NodeObject>)> f) override
{
}
int
getWriteLoad ()
getWriteLoad () override
{
return 0;
}