File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ std::string readFile(std::ifstream& ifs)
21
21
void disablePolyfillIfNotSet (nlohmann::json& alias, std::string_view aliasName)
22
22
{
23
23
if (!alias.contains (aliasName))
24
- alias[aliasName] = false ;
24
+ alias[std::string{ aliasName} ] = false ;
25
25
}
26
26
27
27
void addNuiAlias (nlohmann::json& alias)
@@ -58,7 +58,8 @@ int main(int argc, char** argv)
58
58
{
59
59
std::cout << " Expected 3 argument: <package_in.json> <package_out.json> <target-name>, but got " << argc - 1
60
60
<< " \n " ;
61
- std::cout << " Usage: " << argv[0 ] << " <package_in.json> <package_out.json> <target-name>" << " \n " ;
61
+ std::cout << " Usage: " << argv[0 ] << " <package_in.json> <package_out.json> <target-name>"
62
+ << " \n " ;
62
63
return 1 ;
63
64
}
64
65
You can’t perform that action at this time.
0 commit comments