about summary refs log tree commit diff
path: root/src/libstore/parsed-derivations.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-02-12T12·43+0100
committerEelco Dolstra <edolstra@gmail.com>2019-03-14T13·10+0100
commitef52ccf035fe0bcd78226891022171a28dd6fcbe (patch)
tree25ca43089e573e826fd8341a2a436a93076c26d8 /src/libstore/parsed-derivations.hh
parent86f3b94c8c28defd7402245d60af15ce429986ff (diff)
experimental/optional -> optional
Diffstat (limited to 'src/libstore/parsed-derivations.hh')
-rw-r--r--src/libstore/parsed-derivations.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/parsed-derivations.hh b/src/libstore/parsed-derivations.hh
index 0a82c146172b..ed07dc652e8d 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;