diff options
Diffstat (limited to 'src/libexpr/value.hh')
-rw-r--r-- | src/libexpr/value.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh index c9ec236c470d..91b4f78fa65c 100644 --- a/src/libexpr/value.hh +++ b/src/libexpr/value.hh @@ -131,7 +131,7 @@ static inline void mkStringNoCopy(Value & v, const char * s) static inline void mkString(Value & v, const Symbol & s) { - mkStringNoCopy(v, ((string) s).c_str()); + mkStringNoCopy(v, ((const string &) s).c_str()); } |