commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 07/07: Revert "When specifying a const refe


From: git
Subject: [Commit-gnuradio] [gnuradio] 07/07: Revert "When specifying a const reference member variable in the constructor's initialization list, the argument must also be a const reference."
Date: Mon, 31 Mar 2014 18:04:31 +0000 (UTC)

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

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit c4eb23168c9c15d9fc7789e373a88991245380a8
Author: Johnathan Corgan <address@hidden>
Date:   Mon Mar 31 10:44:04 2014 -0700

    Revert "When specifying a const reference member variable in the 
constructor's initialization list, the argument must also be a const reference."
    
    This reverts commit d822103336b17d40f5e93ab441e3cbf5ad000ee0.
---
 gnuradio-runtime/include/gnuradio/rpcserver_aggregator.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnuradio-runtime/include/gnuradio/rpcserver_aggregator.h 
b/gnuradio-runtime/include/gnuradio/rpcserver_aggregator.h
index 7390b52..cc19d7f 100644
--- a/gnuradio-runtime/include/gnuradio/rpcserver_aggregator.h
+++ b/gnuradio-runtime/include/gnuradio/rpcserver_aggregator.h
@@ -50,7 +50,7 @@ private:
   template<class T, typename Tcallback>
   struct registerConfigureCallback_f: public std::unary_function<T,void>
   {
-    registerConfigureCallback_f(const std::string &_id,  const Tcallback& 
_callback)
+    registerConfigureCallback_f(const std::string &_id,  const Tcallback 
_callback)
       : id(_id), callback(_callback)
     {;}
 
@@ -72,7 +72,7 @@ private:
   template<class T, typename Tcallback>
   struct registerQueryCallback_f: public std::unary_function<T,void>
   {
-    registerQueryCallback_f(const std::string &_id,  const Tcallback& 
_callback)
+    registerQueryCallback_f(const std::string &_id,  const Tcallback _callback)
       : id(_id), callback(_callback)
     {;}
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]