Remove several string copies and unnecessary heap allocations #881
Annotations
3 errors and 4 warnings
Build Release x86_64 wo maxmind:
src/transaction.cc#L1523
'std::string modsecurity::utils::string::dash_if_empty(const std::string *)': cannot convert argument 1 from 'std::shared_ptr<std::string> *' to 'const std::string *' [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
|
Build Release x86_64 wo maxmind:
src/transaction.cc#L1523
built-in operator '<<' cannot be applied to an operand of type 'std::stringstream' [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
|
Build Release x86_64 wo maxmind
Process completed with exit code 1.
|
Build Release x86_64 wo maxmind
'=': conversion from 'Poco::Int64' to 'long', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco39bed2c8d4372\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
|
Build Release x86_64 wo maxmind
'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\poco39bed2c8d4372\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
|
Build Release x86_64 wo maxmind
'argument': conversion from 'std::streamoff' to 'DWORD', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco39bed2c8d4372\b\build\Net\Net.vcxproj]
|
Build Release x86_64 wo maxmind
'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\poco39bed2c8d4372\b\build\NetSSL_OpenSSL\NetSSL.vcxproj]
|
Loading