Skip to content

Commit

Permalink
Merge branch 'master' of https://DennisOSRM@github.com/DennisOSRM/Pro…
Browse files Browse the repository at this point in the history
…ject-OSRM.git
  • Loading branch information
DennisOSRM committed Jun 15, 2012
2 parents fa62f70 + 6918c7f commit 4236f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Algorithms/ObjectToBase64.h
Expand Up @@ -43,7 +43,7 @@ typedef

template<class ToEncodeT>
static void EncodeObjectToBase64(const ToEncodeT & object, std::string& encoded) {
assert(0 == encoded.length());
encoded.clear();
char * pointerToOriginalObject = (char *)&object;
encoded = std::string(base64_t(pointerToOriginalObject), base64_t(pointerToOriginalObject+sizeof(ToEncodeT)));
//replace "+" with "-" and "/" with "_"
Expand Down

0 comments on commit 4236f92

Please sign in to comment.