diff options
author | noloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2015-06-29 02:22:18 +0000 |
---|---|---|
committer | noloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2015-06-29 02:22:18 +0000 |
commit | c0bc47321c9f7bbdeeb3e950c2e0f67beb7bd1ba (patch) | |
tree | 4f99f66ca1a552d439306d283c54d7d9c28b49aa | |
parent | 0ff3516b7f852ff219177ce143301c836d0f6d1e (diff) | |
download | cryptopp-c0bc47321c9f7bbdeeb3e950c2e0f67beb7bd1ba.tar.gz |
Added inline to StringNarrow to squash unused function warning
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@551 57ff6487-cd31-0410-9ec3-f628ee90f5f0
-rw-r--r-- | misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -545,7 +545,7 @@ inline void SecureWipeArray(T *buf, size_t n) } // this function uses wcstombs(), which assumes that setlocale() has been called -static std::string StringNarrow(const wchar_t *str, bool throwOnError = true) +static inline std::string StringNarrow(const wchar_t *str, bool throwOnError = true) { #ifdef _MSC_VER #pragma warning(push) |