From 430940f766faf35300be067ec50ae22b4def0bc8 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Wed, 17 May 2017 13:12:21 +0900 Subject: [PATCH] fix typos --- toml/parser.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/toml/parser.hpp b/toml/parser.hpp index 2339d9b..88013a5 100644 --- a/toml/parser.hpp +++ b/toml/parser.hpp @@ -3,6 +3,7 @@ #include "value.hpp" #include "acceptor.hpp" #include +#include #include #include #include @@ -1077,8 +1078,8 @@ toml::Table parse(std::basic_istream& is) std::wstring wstr(size, ' '); std::copy(contents.cbegin(), contents.cend(), wstr.begin()); - std::wstring_convert, wchar_t> cvter; - std::string u8str = converter.to_bytes(wstr); + std::wstring_convert, wchar_t> cvter; + std::string u8str = cvter.to_bytes(wstr); return parse_data::invoke(u8str.cbegin(), u8str.cend()); }