[mathicgb] 154/393: Changed a reference to a universal reference in LambdaRunner of the logging system to get around a compilation issue with gcc 4.6.3.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Apr 3 15:58:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository mathicgb.

commit 90e0a28d257df905803d1418444853d1c41eb7e0
Author: Bjarke Hammersholt Roune <bjarkehr.code at gmail.com>
Date:   Tue Feb 5 13:48:41 2013 +0100

    Changed a reference to a universal reference in LambdaRunner of the logging system to get around a compilation issue with gcc 4.6.3.
---
 src/mathicgb/LogDomain.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mathicgb/LogDomain.hpp b/src/mathicgb/LogDomain.hpp
index 73d2d73..37da596 100755
--- a/src/mathicgb/LogDomain.hpp
+++ b/src/mathicgb/LogDomain.hpp
@@ -155,7 +155,7 @@ namespace LogDomainInternal {
     return r;
   }
   template<class L, class T>
-  void operator+(LambdaRunner<L> runner, T& lambda) {lambda(runner.log);}
+  void operator+(LambdaRunner<L> runner, T&& lambda) {lambda(runner.log);}
 }
 
 /// Defines LogDomainInternal::value_##NAME to be equal to the value of

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathicgb.git



More information about the debian-science-commits mailing list