diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-09-20 20:31:24 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-09-20 20:31:24 +0000 |
commit | 9cfafa755012bfd68c661996ddaea76e2e265f81 (patch) | |
tree | 1fe3ce4840a519ac38b302d0036741824fcce280 /src/utils | |
parent | 21f741eea2caa062267bd1f8f5055ab622261950 (diff) | |
download | mana-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.h | 2 |
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) |