]> git.ipfire.org Git - thirdparty/squid.git/commit
Code cleanup: Implement proper copy-constructor for HttpHeader. Polished.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 18 Feb 2011 05:05:28 +0000 (22:05 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 18 Feb 2011 05:05:28 +0000 (22:05 -0700)
commitb779a9250b3edbb96189bc12f510ce2532488b82
tree5030963ba04d8d6a82ead03ad3753adaddb06397
parente0018034b08079bc2c736ec220c34dab9e298a58
Code cleanup: Implement proper copy-constructor for HttpHeader. Polished.

Besides being the Right Thing, this helps classes that have HttpHeader data
members to avoid defining explicit copy constructors.

Also fixed blindly copied assignment operator profile and polished another
constructor to prevent implicit integer-to-HttpHeader conversion.
src/HttpHeader.cc
src/HttpHeader.h