Turn on optimization by default

This commit is contained in:
Ned Wright
2024-05-27 12:05:16 +00:00
parent 941c641174
commit dc000372c4
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ cptestGenerateHex(const std::vector<u_char> &vec, bool print_offsets)
std::string
cptestFnameInExeDir(const std::string &name)
{
auto const &bin_path = ::testing::internal::GetArgvs()[0]; // Internal ugly API.
auto bin_path = ::testing::internal::GetArgvs()[0]; // Internal ugly API.
auto slash = bin_path.rfind('/');
if (slash==string::npos) {
// bin_path contains no dir. So return name with no dir