Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-05-22 22:02:59 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:17:49 +0300
commit8f96f60ef9ebd273515a15fcc054055da5775f81 (patch)
tree978ab5f21c994e0414e034ad8fd10073813de893 /coding/value_opt_string.hpp
parent4a2fb4f338afab77649b63455f7003829b907efa (diff)
Moved coding/strutil.hpp to base/string_utils.hpp
Diffstat (limited to 'coding/value_opt_string.hpp')
-rw-r--r--coding/value_opt_string.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/coding/value_opt_string.hpp b/coding/value_opt_string.hpp
index 5e079a0aef..560a547e93 100644
--- a/coding/value_opt_string.hpp
+++ b/coding/value_opt_string.hpp
@@ -32,7 +32,7 @@ public:
}
template <class T> void Set(T const & s)
{
- m_s = utils::to_string(s);
+ m_s = string_utils::to_string(s);
CHECK ( !m_s.empty(), () );
}
@@ -43,7 +43,7 @@ public:
template <class TSink> void Write(TSink & sink) const
{
int n;
- if (utils::to_int(m_s, n) && n >= 0)
+ if (string_utils::to_int(m_s, n) && n >= 0)
WriteVarUint(sink, static_cast<uint32_t>((n << 1) | numeric_bit));
else
{
@@ -60,7 +60,7 @@ public:
uint32_t sz = ReadVarUint<uint32_t>(src);
if ((sz & numeric_bit) != 0)
- m_s = utils::to_string(sz >> 1);
+ m_s = string_utils::to_string(sz >> 1);
else
{
sz = (sz >> 1) + 1;