X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fconfig.h;h=a82e53685c390b0fdc7e528b1a2ad9a71b3199b2;hb=5ccb12706ac217a7f0b07e4c73ca870bb70fabdf;hp=3257794671530e119edcc9de67a9f78633d2d0c6;hpb=c7df14c38a87ceca13df47fa700d3f9fa250be91;p=builder.git diff --git a/source/config.h b/source/config.h index 3257794..a82e536 100644 --- a/source/config.h +++ b/source/config.h @@ -25,8 +25,7 @@ public: Option(const Feature &); }; - typedef std::map OptionMap; - typedef std::map InputOptions; + using InputOptions = std::map; private: class Loader: public Msp::DataFile::ObjectLoader @@ -38,7 +37,7 @@ private: }; SourcePackage &package; - OptionMap options; + std::map options; InputOptions pending_options; Msp::Time::TimeStamp mtime; mutable bool changed; @@ -57,7 +56,7 @@ public: /** Gets a configuration option by name. */ const Option &get_option(const std::string &) const; - const OptionMap &get_options() const { return options; } + const std::map &get_options() const { return options; } const Msp::Time::TimeStamp &get_mtime() const { return mtime; } void load();