diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-02-12 13:43:32 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-03-14 14:10:52 +0100 |
commit | ef52ccf035fe0bcd78226891022171a28dd6fcbe (patch) | |
tree | 25ca43089e573e826fd8341a2a436a93076c26d8 /src/libstore/parsed-derivations.hh | |
parent | 86f3b94c8c28defd7402245d60af15ce429986ff (diff) |
experimental/optional -> optional
Diffstat (limited to 'src/libstore/parsed-derivations.hh')
-rw-r--r-- | src/libstore/parsed-derivations.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/parsed-derivations.hh b/src/libstore/parsed-derivations.hh index 0a82c1461..ed07dc652 100644 --- a/src/libstore/parsed-derivations.hh +++ b/src/libstore/parsed-derivations.hh @@ -8,22 +8,22 @@ class ParsedDerivation { Path drvPath; BasicDerivation & drv; - std::experimental::optional<nlohmann::json> structuredAttrs; + std::optional<nlohmann::json> structuredAttrs; public: ParsedDerivation(const Path & drvPath, BasicDerivation & drv); - const std::experimental::optional<nlohmann::json> & getStructuredAttrs() const + const std::optional<nlohmann::json> & getStructuredAttrs() const { return structuredAttrs; } - std::experimental::optional<std::string> getStringAttr(const std::string & name) const; + std::optional<std::string> getStringAttr(const std::string & name) const; bool getBoolAttr(const std::string & name, bool def = false) const; - std::experimental::optional<Strings> getStringsAttr(const std::string & name) const; + std::optional<Strings> getStringsAttr(const std::string & name) const; StringSet getRequiredSystemFeatures() const; |