From 923991df1b8394ad13c3012837747b69e79ca9f9 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 28 Oct 2015 21:32:33 -0400 Subject: [PATCH] Config: Removed unused ctor --- src/Config.cpp | 7 ------- src/Config.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/src/Config.cpp b/src/Config.cpp index 73be2818e..0458501ec 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -477,13 +477,6 @@ Config::Config () { } -//////////////////////////////////////////////////////////////////////////////// -Config::Config (const std::string& file) -{ - setDefaults (); - load (file); -} - //////////////////////////////////////////////////////////////////////////////// // Read the Configuration file and populate the *this map. The file format is // simply lines with name=value pairs. Whitespace between name, = and value is diff --git a/src/Config.h b/src/Config.h index 0cc56f2f8..1fb8e93c6 100644 --- a/src/Config.h +++ b/src/Config.h @@ -36,8 +36,6 @@ class Config : public std::map { public: Config (); - Config (const std::string&); - Config (const Config&); Config& operator= (const Config&);