mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-06-16 08:23:58 +02:00
Initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user