]> git.ipfire.org Git - thirdparty/squid.git/commit
Move the AnyP::ProtocolVersion stream operator into AnyP:: namespace
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 18 Nov 2014 06:38:51 +0000 (22:38 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 18 Nov 2014 06:38:51 +0000 (22:38 -0800)
commitbe683c55c9a4674bbe2ea27ae6f79cabe70838c1
tree6f280cd2c36c02d92193b22f7cde5acdf86cf4bf
parent39952fbbd2a67224acb9c676f47ec3354ec2fa50
Move the AnyP::ProtocolVersion stream operator into AnyP:: namespace

Clang compiler detects an issue determining which of multiple overloaded
operator<<() at global scope apply to the display of
AnyP::ProtocolVersion.

Moving the operator into the class itself is not possible due to similar
scoping issues with GCC failing to detect it as an inline member from
inside expanded templates.

To resolve both issues we can move the operator only to the AnyP::
namespace but no deeper.
src/anyp/ProtocolVersion.h