]> git.ipfire.org Git - thirdparty/squid.git/commit - src/base/InstanceId.h
Portability fix: Define template static members before functions
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 18 Feb 2011 12:32:27 +0000 (01:32 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 18 Feb 2011 12:32:27 +0000 (01:32 +1300)
commitcd3f0ed7794ffaab78abb3c85c6bb8522275ace5
tree1ec5ace64a45dd7b35fdf695048a946b2a2ae473
parente78ae89a4c328ce142c287b56c205149d5f6d287
Portability fix: Define template static members before functions

ICC complains about 'explicit specialization of member must precede its
first use' if the templand and members are not pre-defined.

Strangely other strict compilers do not mention any problem.
src/base/InstanceId.h