From f8ea2e56504a0052cc14269ceca87b416d26a8ed Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 24 Oct 2016 13:41:23 +0200 Subject: [PATCH] helpers: 201103L have to_string Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/80f7d0a299b2e8f3172b5161fc4b007daa03faf1 Author: Jacek Jendrzej Date: 2016-10-24 (Mon, 24 Oct 2016) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/system/helpers.cpp | 2 +- src/system/helpers.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/helpers.cpp b/src/system/helpers.cpp index 3f894ed5b..00a8bacbb 100644 --- a/src/system/helpers.cpp +++ b/src/system/helpers.cpp @@ -1125,7 +1125,7 @@ std::vector split(const std::string &s, char delim) return vec; } -#if __cplusplus <= 201103L +#if __cplusplus < 201103L std::string to_string(int i) { std::stringstream s; diff --git a/src/system/helpers.h b/src/system/helpers.h index 0011c72eb..7cd1fef20 100644 --- a/src/system/helpers.h +++ b/src/system/helpers.h @@ -117,7 +117,7 @@ class CFileHelpers uint32_t GetWidth4FB_HW_ACC(const uint32_t _x, const uint32_t _w, const bool max=true); -#if __cplusplus <= 201103L +#if __cplusplus < 201103L std::string to_string(int); std::string to_string(unsigned int); std::string to_string(long);