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-23 00:07:09 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:17:51 +0300
commit77b0787a6c71a4ff52b5af6a806ce9dd425b69b1 (patch)
tree639b744518526894ee855e2d6d8a975b67bc35f9 /coding/value_opt_string.hpp
parent85e336796da426c3d82fcf474eec6ee0d6cfc11e (diff)
Renamed namespace string_utils to strings
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 560a547e93..6511775614 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 = string_utils::to_string(s);
+ m_s = strings::to_string(s);
CHECK ( !m_s.empty(), () );
}
@@ -43,7 +43,7 @@ public:
template <class TSink> void Write(TSink & sink) const
{
int n;
- if (string_utils::to_int(m_s, n) && n >= 0)
+ if (strings::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 = string_utils::to_string(sz >> 1);
+ m_s = strings::to_string(sz >> 1);
else
{
sz = (sz >> 1) + 1;