Commit 2afe02bf authored by fabianw's avatar fabianw

Adding assignment operators in ArgumentParser

parent ebc1edb5
...@@ -136,6 +136,9 @@ public: ...@@ -136,6 +136,9 @@ public:
ArgumentParser(const ArgumentParser& c) = delete; ArgumentParser(const ArgumentParser& c) = delete;
ArgumentParser(ArgumentParser&& c) = default; ArgumentParser(ArgumentParser&& c) = default;
ArgumentParser &operator=(const ArgumentParser &c) = delete;
ArgumentParser &operator=(ArgumentParser &&c) = default;
void readFile(const std::string &filepath); void readFile(const std::string &filepath);
Value& operator()(std::string key); Value& operator()(std::string key);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment