diff options
| author | 2017-10-16 02:37:57 +0100 | |
|---|---|---|
| committer | 2017-10-18 18:38:30 +0100 | |
| commit | 020c1d6ea658956e7cb2462a748790a4f4e30787 (patch) | |
| tree | f06c01791ddf214d27a2b682da5ac41ed99d70c3 /src/configparser.cpp | |
| parent | Clean up OnCleanup. (diff) | |
Add a constructor to OperInfo and use it to set the type name.
Diffstat (limited to 'src/configparser.cpp')
| -rw-r--r-- | src/configparser.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp index 86268a132..2af796b21 100644 --- a/src/configparser.cpp +++ b/src/configparser.cpp @@ -507,6 +507,11 @@ ConfigTag::ConfigTag(const std::string& Tag, const std::string& file, int line) { } +OperInfo::OperInfo(const std::string& Name) + : name(Name) +{ +} + std::string OperInfo::getConfig(const std::string& key) { std::string rv; |
