From 5ae9686adac1508873f2d980e84becd3496244c2 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 26 Feb 2020 17:16:45 +0300 Subject: 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. --- libbutl/standard-version.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbutl/standard-version.cxx') 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 -- cgit v1.1