summaryrefslogtreecommitdiff
path: root/kms++util/src/strhelpers.cpp
blob: 5eba2a9b92051ec6b55e72a9b3d2dd3afb88350f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <kms++util/strhelpers.h>

#include <algorithm>
#include <stdarg.h>

using namespace std;

string to_lower(const string& str)
{
	string data = str;
	transform(data.begin(), data.end(), data.begin(), ::tolower);
	return data;
}