From 513c3df12be7455191e2256c64ee766cea7679dd Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Tue, 3 Jan 2017 13:25:39 +0100 Subject: [PATCH] fix promoting double dispatch --- alib2common/src/core/multipleDispatch.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alib2common/src/core/multipleDispatch.hpp b/alib2common/src/core/multipleDispatch.hpp index 5403f47896..fbb4f2cbb2 100644 --- a/alib2common/src/core/multipleDispatch.hpp +++ b/alib2common/src/core/multipleDispatch.hpp @@ -101,7 +101,7 @@ class PromotingDoubleDispatch { public: class RegistratorWrapperBase { public: - virtual ReturnType eval ( bool firstAttempt, ParametersType, ParametersType ) = 0; + virtual ReturnType eval ( bool firstAttempt, ParametersType &&, ParametersType && ) = 0; virtual bool available ( bool firstAttempt, std::type_index first, std::type_index second ) = 0; }; -- GitLab