Files
conan-build/recipes/libmysqlclient/all/patches/0004-fix-805-cpp17-build.patch
Aleksandr Vodyanov 3759e1163f [DO-981] qt package (!15)
Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/15
2025-02-13 12:25:48 +03:00

14 lines
503 B
Diff

diff --git a/mysys/my_default.cc b/mysys/my_default.cc
--- a/mysys/my_default.cc
+++ b/mysys/my_default.cc
@@ -1180,7 +1180,7 @@ static mysql_file_getline_ret mysql_file_getline(char *buff, int size,
/* If the supplied buff/size is enough to store the line, then we return the
* buff itself. In this case, we use this noop deleter */
- static auto noop_free = [](void *) {};
+ static auto noop_free = [](void *) noexcept {};
if (is_login_file) {
if (mysql_file_ftell(file) == 0) {