migrate Library dir to C++11, use fwd decls

This commit is contained in:
Dennis Luxen
2014-05-07 16:17:14 +02:00
parent abd20776a2
commit e3244dd649
4 changed files with 88 additions and 100 deletions
+5 -2
View File
@@ -30,7 +30,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "../Util/ProgramOptions.h"
#include "../Util/SimpleLogger.h"
#include <boost/foreach.hpp>
#include <Reply.h>
#include <RouteParameters.h>
#include <ServerPaths.h>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
@@ -107,7 +110,7 @@ int main (int argc, const char * argv[]) {
//attention: super-inefficient hack below:
std::stringstream my_stream;
BOOST_FOREACH(const std::string & line, osrm_reply.content)
for (const std::string & line : osrm_reply.content)
{
std::cout << line;
my_stream << line;