]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/BodyPipe.h
Cleanup: Simplify CBDATA API and rename CBDATA_CLASS
[thirdparty/squid.git] / src / BodyPipe.h
index 7ee8d38ab017f8dc4b8debff99a7afa4c6495d4d..83f7bcfc35fc3f1f65e3079163280da7de8bdb82 100644 (file)
@@ -89,6 +89,8 @@ private:
  */
 class BodyPipe: public RefCountable
 {
+    CBDATA_CLASS(BodyPipe);
+
 public:
     typedef RefCount<BodyPipe> Pointer;
     typedef BodyProducer Producer;
@@ -164,8 +166,6 @@ private:
     bool mustAutoConsume; // consume when there is no consumer
     bool abortedConsumption; ///< called BodyProducer::noteBodyConsumerAborted
     bool isCheckedOut; // to keep track of checkout violations
-
-    CBDATA_CLASS2(BodyPipe);
 };
 
 #endif /* SQUID_BODY_PIPE_H */