diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-26 17:16:45 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-26 17:17:49 +0300 |
commit | 5ae9686adac1508873f2d980e84becd3496244c2 (patch) | |
tree | d7c88e678b29ed6bb7ae30b74bd01aa2b5d2e9a8 /libbutl/standard-version.cxx | |
parent | afb726d2d59b3715960a8647738860f40e37cf4f (diff) |
Add notion of validator to char_scanner and make sure manifest is UTF-8
This involves implementing utf8_validator and UTF-8 utility functions and
using them during the manifest parsing, serialization, and rewriting.
Diffstat (limited to 'libbutl/standard-version.cxx')
-rw-r--r-- | libbutl/standard-version.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbutl/standard-version.cxx b/libbutl/standard-version.cxx index c27b064..a9f5eb8 100644 --- a/libbutl/standard-version.cxx +++ b/libbutl/standard-version.cxx @@ -41,6 +41,8 @@ using namespace std; namespace butl { + using std::to_string; + // Parse uint64_t from the specified string starting at the specified // position and check the min/max constraints. If successful, save the // result, update the position to point to the next character, and return |