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 OptionValue;
|
||||||
|
|
||||||
class OptionValueMap final : public std::map<std::string, std::unique_ptr<OptionValue>> {
|
using OptionValueMap = std::map<std::string, std::unique_ptr<OptionValue>>;
|
||||||
private:
|
|
||||||
OptionValueMap(const OptionValueMap& x);
|
|
||||||
OptionValueMap& operator=(const OptionValueMap& x);
|
|
||||||
public:
|
|
||||||
OptionValueMap() {};
|
|
||||||
};
|
|
||||||
|
|
||||||
class Options {
|
class Options {
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue