projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add to_upper() method to util.{cc,h}
[dcpomatic.git]
/
src
/
lib
/
util.cc
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index 24ea42b8f2e0e945a31488a414e42ca1f4017f57..d3511e8c7e34e0b1c5f5744147b18d83fb944837 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-1167,3
+1167,12
@@
default_font_file ()
return liberation_normal;
}
+
+
+string
+to_upper (string s)
+{
+ transform (s.begin(), s.end(), s.begin(), ::toupper);
+ return s;
+}
+