From a8a4ef82cd3eda269eab635d52c1319db5a847c3 Mon Sep 17 00:00:00 2001 From: orignal Date: Wed, 26 Oct 2016 16:19:32 -0400 Subject: [PATCH] fixed android build --- util.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/util.h b/util.h index ee4aade6..b8de8b5a 100644 --- a/util.h +++ b/util.h @@ -15,6 +15,11 @@ std::string to_string(T value) { return boost::lexical_cast(value); } + +inline int stoi(const std::string& str) +{ + return boost::lexical_cast(str); +} } #endif