summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-09-27 14:54:09 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-09-27 14:54:09 +0000
commit285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4 (patch)
tree0a4e4169ffada0fbdc25fd91822a8c0fe678571c /src/utils
parentc24856707233ceb3995e43f8f7da63e65999df1e (diff)
downloadmana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.tar.gz
mana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.tar.bz2
mana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.tar.xz
mana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.zip
Merged another bunch of changes from trunk to 0.0 to reduce the difference.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/trim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/trim.h b/src/utils/trim.h
index 1b5311e6..fec99100 100644
--- a/src/utils/trim.h
+++ b/src/utils/trim.h
@@ -31,7 +31,7 @@
*
* @param str the string to trim spaces off
*/
-static void trim(std::string &str)
+inline void trim(std::string &str)
{
std::string::size_type pos = str.find_last_not_of(' ');
if (pos != std::string::npos)