diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-10-23T21·11+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-10-23T21·11+0000 |
commit | b2ba62170cc8359d2f8bbbd9dbacf331b98151fe (patch) | |
tree | f9617195f1462c6fd0c872ba3a5ded23b48964c3 /src/libexpr/nixexpr.hh | |
parent | 8ac06726b92fff66714ceee8af89068ac876875a (diff) |
* Optimise string constants by putting them in the symbol table.
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r-- | src/libexpr/nixexpr.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh index 5c0071dca2ce..1aa3df3689a6 100644 --- a/src/libexpr/nixexpr.hh +++ b/src/libexpr/nixexpr.hh @@ -65,8 +65,8 @@ struct ExprInt : Expr struct ExprString : Expr { - string s; - ExprString(const string & s) : s(s) { }; + Symbol s; + ExprString(const Symbol & s) : s(s) { }; COMMON_METHODS }; |