Xfer

From John's wiki
Revision as of 10:57, 3 September 2015 by Sixsigma (talk | contribs) (xfer)
Jump to navigation Jump to search
g++    -c -g -I.. -I../trunk -std=c++11 -MMD -MP -MF "build/Debug/GNU-Linux-x86/Hub.o.d" -o build/Debug/GNU-Linux-x86/Hub.o Hub.cpp
Hub.cpp: In member function ‘void Hub::Hub::Start()’:
Hub.cpp:68:67: error: invalid initialization of non-const reference of type ‘boost::property_tree::ptree& {aka boost::property_tree::basic_ptree<std::basic_string<char>, std::basic_string<char> >&}’ from an rvalue of type ‘boost::property_tree::ptree {aka boost::property_tree::basic_ptree<std::basic_string<char>, std::basic_string<char> >}’
     boost::property_tree::ptree &pt = boost::property_tree::ptree();
                                                                   ^