ci: gh-action windows fixes
[awesomized/libmemcached] / test / fixtures / callbacks.hpp
index 5e01c4b467c7a72dad03507814de224796264ebb..06b145a5fb3eaadc474737879e38f3b643bbaa80 100644 (file)
@@ -13,6 +13,8 @@
     +--------------------------------------------------------------------+
 */
 
+#pragma once
+
 #include "test/lib/common.hpp"
 #include "libmemcached/common.h"
 #include "libmemcachedutil/common.h"
@@ -49,7 +51,7 @@ static inline memcached_return_t delete_trigger(memcached_st *, const char *, si
   return MEMCACHED_SUCCESS;
 }
 
-static inline memcached_return_t read_through_trigger(memcached_st *, char *, size_t,
+static inline memcached_return_t get_failure(memcached_st *, char *, size_t,
                                                       memcached_result_st *result) {
   return memcached_result_set_value(result, S("updated by read through trigger"));
 }