]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: Change unnamed struct to named class in MemObject for MSVC compatability.
authorrobertc <>
Sat, 12 Jul 2003 13:22:09 +0000 (13:22 +0000)
committerrobertc <>
Sat, 12 Jul 2003 13:22:09 +0000 (13:22 +0000)
Change unnamed struct to named class in MemObject for MSVC compatability.

src/MemObject.h

index c7ab3a01ecc86cc1ee24e6e12e7003b5dd9286e4..cb7e7bf5559e14540b3d428e3a1b8222c1b99790 100644 (file)
@@ -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;