Merge pull request #3875 from sysown/v2.x-gcc_12_1_compilation_fixes

Fix compilation for 'GCC 12.1.0'
pull/3882/head
René Cannaò 4 years ago committed by GitHub
commit 97aba01d0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,6 +10,7 @@
#include "cpp.h"
#include <tuple>
#include <vector>
#include <array>
#include "ProxySQL_RESTAPI_Server.hpp"

@ -74,12 +74,6 @@ using mysql_res_row = std::vector<std::string>;
*/
std::vector<mysql_res_row> extract_mysql_rows(MYSQL_RES* my_res);
/**
* @brief Dummy write function to avoid CURL to write received output to stdout.
* @return Returns the size presented.
*/
size_t my_dummy_write(char*, size_t size, size_t nmemb, void*);
/**
* @brief Waits until the provided endpoint is ready to be used or the
* timeout period expired. For this checks the return code of

Loading…
Cancel
Save