Skip to content

Commit e9283c9

Browse files
rdemellowdaverigby
authored andcommitted
Revert: Change of type from void* to CookieIface* for engine_data
Revert an incorrect change from void* to CookieIface* for the engine_data arg of store_engine_specific(). Change-Id: I8dfb5c45ab18bb7b9c826e4e064779e3df3b400b Reviewed-on: http://review.couchbase.org/c/kv_engine/+/155820 Tested-by: Build Bot <[email protected]> Reviewed-by: Dave Rigby <[email protected]>
1 parent 191f2e1 commit e9283c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/memcached/engine_testapp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ struct test_harness {
119119
* Store the specified pointer in the specified cookie
120120
*/
121121
virtual void store_engine_specific(const CookieIface* cookie,
122-
CookieIface* engine_data) = 0;
122+
void* engine_data) = 0;
123123

124124
/**
125125
* Get the number of references for the specified cookie

programs/engine_testapp/engine_testapp.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ class MockTestHarness : public test_harness {
193193
}
194194

195195
void store_engine_specific(const CookieIface* cookie,
196-
CookieIface* engine_data) override {
196+
void* engine_data) override {
197197
get_mock_server_api()->cookie->store_engine_specific(cookie,
198198
engine_data);
199199
}

0 commit comments

Comments
 (0)