1 /* 2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors 3 * 4 * Squid software is distributed under GPLv2+ license and includes 5 * contributions from numerous individuals and organizations. 6 * Please see the COPYING and CONTRIBUTORS files for details. 7 */ 8 9 #include "squid.h" 10 11 #define STUB_API "StoreStats.cc" 12 #include "tests/STUB.h" 13 14 #include "StoreStats.h" 15 #include <cstring> 16 17 StoreInfoStats & operator +=(const StoreInfoStats & stats)18StoreInfoStats::operator +=(const StoreInfoStats &stats) STUB_RETVAL(*this) 19 20 StoreIoStats::StoreIoStats() 21 { 22 // we have to implement this one because tests/stub_store.cc 23 // has a StoreIoStats global 24 memset(this, 0, sizeof(*this)); 25 } 26 27