diff options
author | methodus <methodus@web.de> | 2012-11-29 00:17:50 +0100 |
---|---|---|
committer | methodus <methodus@web.de> | 2012-11-29 00:17:50 +0100 |
commit | e6c28c5209b5508a61affc947179260cec0d2733 (patch) | |
tree | 2db88f7fe2d9f55309a267b35c401844cc657a08 /include/tools/string.h | |
parent | 387d734f97d9b7ad710eb84d2390e1cfe3f56c1d (diff) | |
download | vdr-plugin-upnp-e6c28c5209b5508a61affc947179260cec0d2733.tar.gz vdr-plugin-upnp-e6c28c5209b5508a61affc947179260cec0d2733.tar.bz2 |
Added some SQLite pragmas which should reduce accesses on the file system for writing
Diffstat (limited to 'include/tools/string.h')
-rw-r--r-- | include/tools/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tools/string.h b/include/tools/string.h index 0ff5434..8d54706 100644 --- a/include/tools/string.h +++ b/include/tools/string.h @@ -21,6 +21,7 @@ string ToString(long number); string StringListToCSV(StringList list); string IdListToCSV(IdList list); void StringExplode(string str, string separator, StringVector& results); +string Trim(const std::string& str, const std::string& whitespace = " \t"); } |