mirror of https://github.com/odrling/Aegisub
Define OptionValueMap with using rather than inheritence
This commit is contained in:
parent
c59b9d59b8
commit
a050b43621
|
@ -39,13 +39,7 @@ DEFINE_SIMPLE_EXCEPTION_NOINNER(OptionErrorDuplicateKey, OptionError, "options/d
|
|||
|
||||
class OptionValue;
|
||||
|
||||
class OptionValueMap final : public std::map<std::string, std::unique_ptr<OptionValue>> {
|
||||
private:
|
||||
OptionValueMap(const OptionValueMap& x);
|
||||
OptionValueMap& operator=(const OptionValueMap& x);
|
||||
public:
|
||||
OptionValueMap() {};
|
||||
};
|
||||
using OptionValueMap = std::map<std::string, std::unique_ptr<OptionValue>>;
|
||||
|
||||
class Options {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue