Xfer: Difference between revisions
Jump to navigation
Jump to search
(xfer) |
(xfer) |
||
Line 1: | Line 1: | ||
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 | 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: In member function ‘void Hub::Hub::Start()’: | ||
Hub.cpp: | 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:: | boost::property_tree::ptree &pt = boost::property_tree::ptree(); | ||
^ |
Revision as of 10:57, 3 September 2015
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(); ^