Merge pull request #11292 from tomberek/tomberek.symbolstring

fix: use SymbolStr in constructor
This commit is contained in:
Robert Hensing 2024-08-13 23:57:59 +02:00 committed by GitHub
commit 622c402659
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -331,9 +331,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);