]> git.tdb.fi Git - libs/core.git/blobdiff - source/stringcodec/codec.h
Style and comment updates
[libs/core.git] / source / stringcodec / codec.h
index c70e052dd1b35e819a591327777f8eec4dbdc9bd..e0e0a96de235f906cda8c875963f3a1f399acf5e 100644 (file)
@@ -177,7 +177,7 @@ public:
 
 
 /** Convenience function that decodes a string. */
-template<class C>
+template<typename C>
 ustring decode(const std::string &s)
 {
        typename C::Decoder dec;
@@ -185,7 +185,7 @@ ustring decode(const std::string &s)
 }
 
 /** Convenience function that encodes a string. */
-template<class C>
+template<typename C>
 std::string encode(const ustring &s)
 {
        typename C::Encoder enc;
@@ -193,7 +193,7 @@ std::string encode(const ustring &s)
 }
 
 /** Convenience function that transcodes a string from one codec to another. */
-template<class F, class T>
+template<typename F, typename T>
 std::string transcode(const std::string &s)
 {
        return encode<T>(decode<F>(s));