Skip to content

Commit

Permalink
fix: use SymbolStr in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
tomberek committed Aug 13, 2024
1 parent cfe66db commit f22bf86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libexpr/value.hh
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@ public:

void mkStringMove(const char * s, const NixStringContext & context);

inline void mkString(const Symbol & s)
inline void mkString(const SymbolStr & s)
{
mkString(((const std::string &) s).c_str());
mkString(s.c_str());
}

void mkPath(const SourcePath & path);
Expand Down

0 comments on commit f22bf86

Please sign in to comment.