Fixed building non-debug builds.

This commit is contained in:
Alexander Shaduri
2022-01-18 15:53:48 +04:00
parent 88e9e8c2f7
commit f128de2b30
+1 -1
View File
@@ -70,7 +70,7 @@ struct BuildEnv {
// Hide it in ifdef so that the binary does not contain it unless required.
return "@CMAKE_SOURCE_DIR@";
#else
throw std::logic_error("This function is unavailable in non-debug builds.");
return ""; // not available in non-debug builds
#endif
}