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