[hamradio-commits] [gnss-sdr] 103/126: fix -Wreorder warning

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Sat Dec 26 18:38:06 UTC 2015


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

carles_fernandez-guest pushed a commit to branch next
in repository gnss-sdr.

commit 651877af45d5d2606286cff06e92e2b2e6c0061e
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Tue Dec 15 15:31:13 2015 +0100

    fix -Wreorder warning
    
    The members should appear in the initializer list in the same order as
    they appear in the class
---
 src/core/system_parameters/rtcm.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/core/system_parameters/rtcm.h b/src/core/system_parameters/rtcm.h
index b87049a..e361d21 100644
--- a/src/core/system_parameters/rtcm.h
+++ b/src/core/system_parameters/rtcm.h
@@ -455,6 +455,7 @@ private:
     }
 
     private:
+
         void do_accept()
         {
             acceptor_.async_accept(socket_, [this](boost::system::error_code ec)
@@ -475,8 +476,8 @@ private:
         }
 
         boost::asio::ip::tcp::acceptor acceptor_;
-        boost::asio::ip::tcp::socket socket_;
         std::shared_ptr< concurrent_queue<std::string> >  & queue_;
+        boost::asio::ip::tcp::socket socket_;
     };
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git



More information about the pkg-hamradio-commits mailing list