mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
14 lines
169 B
C++
14 lines
169 B
C++
#pragma once
|
|
namespace RBX {
|
|
|
|
inline void safeToLower(std::string& s)
|
|
{
|
|
for(unsigned i = 0; i<s.size(); ++i){
|
|
if(isupper(s[i])){
|
|
s[i] = tolower(s[i]);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|