mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
system/helpers: allow to build with c++11 compilers
Origin commit data
------------------
Branch: ni/coolstream
Commit: ae345d11d3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-10-22 (Sat, 22 Oct 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
0ed93d8edb
commit
f3c729bab3
@@ -1125,6 +1125,7 @@ std::vector<std::string> split(const std::string &s, char delim)
|
||||
return vec;
|
||||
}
|
||||
|
||||
#if __cplusplus <= 201103L
|
||||
std::string to_string(int i)
|
||||
{
|
||||
std::stringstream s;
|
||||
@@ -1166,6 +1167,7 @@ std::string to_string(unsigned long long i)
|
||||
s << i;
|
||||
return s.str();
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* C++ version 0.4 std::string style "itoa":
|
||||
|
Reference in New Issue
Block a user