From 10d16f7b6d963c83fa6a0b32a757c16c70623689 Mon Sep 17 00:00:00 2001 From: Jan Willamowius <jan@willamowius.de> Date: 周一, 22 4月 2019 01:39:28 +0800 Subject: [PATCH] pass by reference as performance optimization --- src/library/base/StringUtils.cpp | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/library/base/StringUtils.cpp b/src/library/base/StringUtils.cpp index 14b9bc6..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,6 +11,11 @@ #include <string> #include <cstring> #include <algorithm> +#include <stdexcept> + +#ifdef _WIN32 +#include <time.h> //mktime under windows +#endif namespace license { using namespace std; -- Gitblit v1.9.1