]> git.ipfire.org Git - thirdparty/squid.git/commit - src/base/AsyncJobCalls.h
Possible fix for an OpenSolaris "pureparm" compilation error.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 24 Aug 2010 22:05:52 +0000 (16:05 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 24 Aug 2010 22:05:52 +0000 (16:05 -0600)
commita3855a074aa33881ee4453310b8619e38bbd06d7
tree0e42a13e65c61bec501d42b5326bbc457699e814
parentbd6a0c8f30de2268141020d182fcfd8763b67bb3
Possible fix for an OpenSolaris "pureparm" compilation error.

Our CallJobHere1() macro tried to help the compiler to determine the right
JobMemFun() profile by explicitly specifying the first JobMemFun() template
argument type. There is a second template argument in the CallJobHere1 case,
but we cannot specify it explicitly. Apparently, OpenSolaris compiler got
confused, perhaps justifiably so, by only one template argument specified.

This change removes the explicit first template parameter from the JobMemFun()
call inside the CallJobHere1(). It does not seem to be required for GCC on
RHEL5.  Tests will show what other compilers think.
src/base/AsyncJobCalls.h