diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-02 14:42:03 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-02 14:42:03 +0200 |
commit | e515eb5a6797be17b087d6b10a7979ba87470773 (patch) | |
tree | 80419bd370a93d5f7c8a23cbb27ffbba2e3ea2b6 /vdstestlib/src | |
parent | 0f646f10b377b90fc37e9911f9fe383d112ff157 (diff) |
Fix warnings hidden earlier due to including application headers as system includes
Diffstat (limited to 'vdstestlib/src')
-rw-r--r-- | vdstestlib/src/vespa/vdstestlib/cppunit/dirconfig.cpp | 6 | ||||
-rw-r--r-- | vdstestlib/src/vespa/vdstestlib/cppunit/dirconfig.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/vdstestlib/src/vespa/vdstestlib/cppunit/dirconfig.cpp b/vdstestlib/src/vespa/vdstestlib/cppunit/dirconfig.cpp index d0bcb47ae0c..8716f934673 100644 --- a/vdstestlib/src/vespa/vdstestlib/cppunit/dirconfig.cpp +++ b/vdstestlib/src/vespa/vdstestlib/cppunit/dirconfig.cpp @@ -1,6 +1,6 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/vdstestlib/cppunit/dirconfig.hpp> +#include "dirconfig.hpp" #include <vespa/vespalib/io/fileutil.h> #include <vespa/vespalib/util/exceptions.h> @@ -56,6 +56,8 @@ DirConfig::Config::Config(const ConfigName& name) { } +DirConfig::Config::~Config() {} + void DirConfig::Config::set(const ConfigKey& key) { @@ -113,6 +115,8 @@ DirConfig::DirConfig() vespalib::mkdir(_dirName, true); } +DirConfig::~DirConfig() {} + DirConfig::Config& DirConfig::addConfig(const ConfigName& name) { diff --git a/vdstestlib/src/vespa/vdstestlib/cppunit/dirconfig.h b/vdstestlib/src/vespa/vdstestlib/cppunit/dirconfig.h index 5fe933fb689..6771f951d28 100644 --- a/vdstestlib/src/vespa/vdstestlib/cppunit/dirconfig.h +++ b/vdstestlib/src/vespa/vdstestlib/cppunit/dirconfig.h @@ -35,6 +35,7 @@ struct DirConfig { mutable bool dirtyCache; Config(const ConfigName&); + ~Config(); void clear() { config.clear(); } void set(const ConfigKey&); // Set valueless key, such as array size @@ -48,6 +49,7 @@ struct DirConfig { }; DirConfig(); + ~DirConfig(); // Adjusts the memory representation of this config. // publish() to push the config from memory to files. |