From a0b74b09a5824d50613e3b3a5590e7a9ed515716 Mon Sep 17 00:00:00 2001 From: Wenfeng CAI <xoxyzox-m@yahoo.com> Date: 周二, 13 11月 2018 10:51:36 +0800 Subject: [PATCH] Fix assumed return type of MSVC --- src/library/base/StringUtils.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/library/base/StringUtils.cpp b/src/library/base/StringUtils.cpp index 33e055a..97675b7 100644 --- a/src/library/base/StringUtils.cpp +++ b/src/library/base/StringUtils.cpp @@ -2,7 +2,7 @@ * StringUtils.cpp * * Created on: Apr 8, 2014 - * Author: devel + * */ #include <cctype> //toupper @@ -11,8 +11,9 @@ #include <string> #include <cstring> #include <algorithm> +#include <stdexcept> -#ifdef WIN32 +#ifdef _WIN32 #include <time.h> //mktime under windows #endif -- Gitblit v1.9.1