diff options
Diffstat (limited to 'src/properties.h')
-rw-r--r-- | src/properties.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/properties.h b/src/properties.h index 84b6d184..7ccf86dc 100644 --- a/src/properties.h +++ b/src/properties.h @@ -32,7 +32,7 @@ class Properties { public: - virtual ~Properties() {} + virtual ~Properties() = default; /** * Get a map property. @@ -43,7 +43,7 @@ class Properties * doesn't exist. */ std::string getProperty(const std::string &name, - const std::string &def = "") const + const std::string &def = std::string()) const { auto i = mProperties.find(name); return (i != mProperties.end()) ? i->second : def; |