Xfer: Difference between revisions

From John's wiki
Jump to navigation Jump to search
(xfer)
(xfer)
Line 3: Line 3:
  std::stringstream stream(message);
  std::stringstream stream(message);
  boost::property_tree::xml_parser::read_xml( stream, ref_pt );
  boost::property_tree::xml_parser::read_xml( stream, ref_pt );
Next problem:
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:79:15: error: use of deleted function ‘std::basic_stringstream<char>& std::basic_stringstream<char>::operator=(const std::basic_stringstream<char>&)’
      Response = ProcessParameter(Store, pt);
                ^

Revision as of 11:16, 3 September 2015

boost::property_tree::ptree pt;
boost::property_tree::ptree &ref_pt = pt;
std::stringstream stream(message);
boost::property_tree::xml_parser::read_xml( stream, ref_pt );

Next problem:

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:79:15: error: use of deleted function ‘std::basic_stringstream<char>& std::basic_stringstream<char>::operator=(const std::basic_stringstream<char>&)’
      Response = ProcessParameter(Store, pt);
               ^