diff options
author | Johannes Schickel | 2015-12-12 06:25:38 +0100 |
---|---|---|
committer | Johannes Schickel | 2015-12-12 06:54:57 +0100 |
commit | d09c3e28a641dee96df51a6297e11932cc118253 (patch) | |
tree | 768cec80baabfba2f12c50dc0e1261d22ad81be4 /devtools | |
parent | c9d7299e6586fa7baa5badffc6f0c07d6d91c679 (diff) | |
download | scummvm-rg350-d09c3e28a641dee96df51a6297e11932cc118253.tar.gz scummvm-rg350-d09c3e28a641dee96df51a6297e11932cc118253.tar.bz2 scummvm-rg350-d09c3e28a641dee96df51a6297e11932cc118253.zip |
DEVTOOLS: Remove 'explicit' keyword from multi parameter constructors.
This does not make sense in C++98. For C++11 this only prevents Foo x = {...}
initialization, which we can't use anyway.
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/create_project/xcode.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devtools/create_project/xcode.h b/devtools/create_project/xcode.h index e6295ccf7b..cadd1898a7 100644 --- a/devtools/create_project/xcode.h +++ b/devtools/create_project/xcode.h @@ -86,16 +86,16 @@ private: int _indent; int _order; - explicit Setting(std::string value = "", std::string comment = "", int flgs = 0, int idt = 0, int ord = -1) : _flags(flgs), _indent(idt), _order(ord) { + Setting(std::string value = "", std::string comment = "", int flgs = 0, int idt = 0, int ord = -1) : _flags(flgs), _indent(idt), _order(ord) { _entries.push_back(Entry(value, comment)); } - explicit Setting(ValueList values, int flgs = 0, int idt = 0, int ord = -1) : _flags(flgs), _indent(idt), _order(ord) { + Setting(ValueList values, int flgs = 0, int idt = 0, int ord = -1) : _flags(flgs), _indent(idt), _order(ord) { for (unsigned int i = 0; i < values.size(); i++) _entries.push_back(Entry(values[i], "")); } - explicit Setting(EntryList ents, int flgs = 0, int idt = 0, int ord = -1) : _entries(ents), _flags(flgs), _indent(idt), _order(ord) {} + Setting(EntryList ents, int flgs = 0, int idt = 0, int ord = -1) : _entries(ents), _flags(flgs), _indent(idt), _order(ord) {} void addEntry(std::string value, std::string comment = "") { _entries.push_back(Entry(value, comment)); @@ -119,7 +119,7 @@ private: Property() : _flags(0), _hasOrder(false) {} // Constructs a simple Property - explicit Property(std::string name, std::string value = "", std::string comment = "", int flgs = 0, int indent = 0, bool order = false) : _flags(flgs), _hasOrder(order) { + Property(std::string name, std::string value = "", std::string comment = "", int flgs = 0, int indent = 0, bool order = false) : _flags(flgs), _hasOrder(order) { _settings[name] = Setting(value, comment, _flags, indent); } |