Fix missing headers in hint.hpp

This commit is contained in:
Daniel J. Hofmann 2016-02-18 15:54:30 -08:00 committed by Patrick Niklaus
parent 54410988eb
commit 3d6e9da115

View File

@ -5,8 +5,12 @@
#include "engine/phantom_node.hpp" #include "engine/phantom_node.hpp"
#include <boost/assert.hpp> #include <boost/assert.hpp>
#include <cstdint>
#include <cmath> #include <cmath>
#include <string>
namespace osrm namespace osrm
{ {
namespace engine namespace engine
@ -28,11 +32,7 @@ struct Hint
facade.GetCheckSum() == data_checksum; facade.GetCheckSum() == data_checksum;
} }
std::string ToBase64() const std::string ToBase64() const { return encodeBase64(*this); }
{
std::string encoded = encodeBase64(*this);
return encoded;
}
static Hint FromBase64(const std::string &base64Hint) static Hint FromBase64(const std::string &base64Hint)
{ {