From: Amos Jeffries Date: Sat, 5 Nov 2016 09:42:15 +0000 (+1300) Subject: Fix missing return in HardFun functor template X-Git-Tag: SQUID_4_0_17~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f4abf6205df5630108eac648ee817891bf815ee6;p=thirdparty%2Fsquid.git Fix missing return in HardFun functor template --- diff --git a/src/base/HardFun.h b/src/base/HardFun.h index 3221fae3ef..c6aab191db 100644 --- a/src/base/HardFun.h +++ b/src/base/HardFun.h @@ -14,7 +14,7 @@ */ template struct HardFun { - ReturnType operator()(ArgType arg) { fun(arg); } + ReturnType operator()(ArgType arg) { return fun(arg); } }; #endif /* _SQUID_SRC_BASE_HARDFUN_H */