]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Packet.hh
constructors should be explicit
[chaz/yoink] / src / Moof / Packet.hh
index 8bcefffc95b0b86f9280b7f908e52f0b7b8448eb..db371f4e58bd22081c12daf721c0bddd73eccc48 100644 (file)
@@ -51,7 +51,7 @@ public:
         * Construct a packet with an initial capacity.
         * \param capacity Initial capacity of the packet.
         */
-       Packet(size_t size = PAGE_SIZE);
+       explicit Packet(size_t size = PAGE_SIZE);
 
        /**
         * Construct a packet with some bytes from a buffer.  The bytes will be
This page took 0.02028 seconds and 4 git commands to generate.