aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/value.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-01-04 18:45:16 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-01-04 18:45:16 +0100
commited93aec3c317e5dc3748b28e451c8eb6df377060 (patch)
treedb9e25912cdf6eb7998c18a1c79b6401d30cad02 /src/libexpr/value.hh
parent263a8d293c67488065296737cdadee3d0e122bf5 (diff)
Remove non-method mkPath()
Diffstat (limited to 'src/libexpr/value.hh')
-rw-r--r--src/libexpr/value.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh
index 3f9b65197..ba647a10d 100644
--- a/src/libexpr/value.hh
+++ b/src/libexpr/value.hh
@@ -248,6 +248,8 @@ public:
path = s;
}
+ void mkPath(std::string_view s);
+
inline void mkNull()
{
clearValue();
@@ -399,9 +401,6 @@ static inline void mkString(Value & v, const Symbol & s)
}
-void mkPath(Value & v, const char * s);
-
-
#if HAVE_BOEHMGC
typedef std::vector<Value *, traceable_allocator<Value *> > ValueVector;
typedef std::map<Symbol, Value *, std::less<Symbol>, traceable_allocator<std::pair<const Symbol, Value *> > > ValueMap;