]> git.stg.codes - stg.git/blob - projects/stargazer/plugins/store/postgresql/postgresql_store_utils.h
Added "smart" iconv 2nd arg const-ness detection.
[stg.git] / projects / stargazer / plugins / store / postgresql / postgresql_store_utils.h
1 #ifndef POSTGRESQL_UTILS_STORE_H
2 #define POSTGRESQL_UTILS_STORE_H
3
4 #include <functional>
5
6 struct ToLower : public std::unary_function<char, char>
7 {
8 char operator() (char c) const  { return static_cast<char>(std::tolower(c)); }
9 };
10
11 #endif