From: robertc <> Date: Sat, 12 Jul 2003 13:22:09 +0000 (+0000) Subject: Summary: Change unnamed struct to named class in MemObject for MSVC compatability. X-Git-Tag: SQUID_3_0_PRE1~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecf22804ad299febbfe6c1707d823e5beda5b790;p=thirdparty%2Fsquid.git Summary: Change unnamed struct to named class in MemObject for MSVC compatability. Change unnamed struct to named class in MemObject for MSVC compatability. --- diff --git a/src/MemObject.h b/src/MemObject.h index c7ab3a01ec..cb7e7bf555 100644 --- a/src/MemObject.h +++ b/src/MemObject.h @@ -1,6 +1,6 @@ /* - * $Id: MemObject.h,v 1.5 2003/05/19 23:16:48 robertc Exp $ + * $Id: MemObject.h,v 1.6 2003/07/12 07:22:09 robertc Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -100,14 +100,16 @@ public: int nclients; - struct + class SwapOut { + + public: off_t queue_offset; /* relative to in-mem data */ mem_node *memnode; /* which node we're currently paging out */ StoreIOState::Pointer sio; - } + }; - swapout; + SwapOut swapout; /* Read only - this reply must be preserved by store clients */ /* The original reply. possibly with updated metadata. */ request_t *request;