mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
fix: use SymbolStr in constructor
This commit is contained in:
parent
cfe66dbec3
commit
f22bf867eb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user