summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-09-20 20:31:24 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-09-20 20:31:24 +0000
commit9cfafa755012bfd68c661996ddaea76e2e265f81 (patch)
tree1fe3ce4840a519ac38b302d0036741824fcce280 /src/utils
parent21f741eea2caa062267bd1f8f5055ab622261950 (diff)
downloadMana-9cfafa755012bfd68c661996ddaea76e2e265f81.tar.gz
Mana-9cfafa755012bfd68c661996ddaea76e2e265f81.tar.bz2
Mana-9cfafa755012bfd68c661996ddaea76e2e265f81.tar.xz
Mana-9cfafa755012bfd68c661996ddaea76e2e265f81.zip
Fixed some compilation warning.
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)