Commit d7e7b1f7 authored by novatig's avatar novatig

silenced warnings

parent 0ecaaad0
......@@ -133,6 +133,13 @@ public:
delete it->second;
}
ArgumentParser(const ArgumentParser& c) :
CommandlineParser(c.getargc(), c.getargv()), commentStart(c.commentStart),
from_commandline(c.mapArguments), from_files(c.from_files),
from_code(c.from_code), mapRuntime(c.mapRuntime)
{
}
void readFile(const std::string &filepath);
Value& operator()(std::string key);
......
......@@ -89,7 +89,7 @@ public:
virtual bool is_yperiodic() { return true; }
virtual bool is_zperiodic() { return true; }
~BlockLab()
virtual ~BlockLab()
{
_release(m_cacheBlock);
}
......
......@@ -59,6 +59,7 @@ public:
struct Object
{
virtual Region getRegion(const int _n[3]) { return Region(); }
virtual ~Object() {}
};
struct Face : Object
......
......@@ -218,7 +218,7 @@ public:
}
~GridMPI()
~GridMPI() override
{
for (auto it = SynchronizerMPIs.begin(); it != SynchronizerMPIs.end(); ++it)
delete it->second;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment