From 020c1d6ea658956e7cb2462a748790a4f4e30787 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 16 Oct 2017 02:37:57 +0100 Subject: Add a constructor to OperInfo and use it to set the type name. --- src/configparser.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/configparser.cpp') 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; -- cgit v1.3.1-10-gc9f91