You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2014/05/22 02:54:10 UTC
git commit: Fix inline base64 functions.
Repository: mesos
Updated Branches:
refs/heads/master 4c15fd065 -> 04abb408e
Fix inline base64 functions.
Review: https://reviews.apache.org/r/21796
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/04abb408
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/04abb408
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/04abb408
Branch: refs/heads/master
Commit: 04abb408e1d45a33e0f1f55d435023fe9208c9f9
Parents: 4c15fd0
Author: Isabel Jimenez <co...@isabeljimenez.com>
Authored: Wed May 21 17:53:41 2014 -0700
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Wed May 21 17:53:41 2014 -0700
----------------------------------------------------------------------
3rdparty/libprocess/3rdparty/stout/include/stout/base64.hpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/04abb408/3rdparty/libprocess/3rdparty/stout/include/stout/base64.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/base64.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/base64.hpp
index 1f0944a..110cb49 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/base64.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/base64.hpp
@@ -35,7 +35,7 @@ static inline bool isBase64(unsigned char c)
}
-std::string encode(const std::string& s)
+inline std::string encode(const std::string& s)
{
std::string result;
int i = 0;
@@ -79,7 +79,7 @@ std::string encode(const std::string& s)
}
-std::string decode(const std::string& s)
+inline std::string decode(const std::string& s)
{
size_t length = s.size();
size_t i = 0;