mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-06-13 15:52:19 +02:00
11 lines
265 B
C++
11 lines
265 B
C++
#include <algorithm>
|
|
#include <cctype>
|
|
|
|
#include "util.h"
|
|
|
|
std::string util::lowercase(const std::string &s) {
|
|
std::string out(s);
|
|
std::transform(s.begin(), s.end(), out.begin(),
|
|
[](unsigned char c) { return std::tolower(c); });
|
|
return out;
|
|
} |