]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/MessageSizes.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / MessageSizes.h
index 69220c4aaf3aa36663935352c4788d79e2056305..a25ecc2b9de2ec9cc11b097053514967780d6176 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 #ifndef SQUID_SRC_MESSAGESIZES_H
 #define SQUID_SRC_MESSAGESIZES_H
 
 class MessageSizes
 {
 public:
-    MessageSizes() : header(0), payloadData(0) {}
-
     /// size of message header block (if any)
     /// including message Request-Line or Start-Line.
-    uint64_t header;
+    uint64_t header = 0;
 
     /// total size of payload block(s) excluding transfer encoding overheads
-    uint64_t payloadData;
+    uint64_t payloadData = 0;
 
     /// total message size
     uint64_t messageTotal() const {return header + payloadData;}
 };
 
 #endif  /* SQUID_SRC_MESSAGESIZES_H */
+