diff options
author | Tarek Soliman | 2012-02-10 21:14:48 -0600 |
---|---|---|
committer | Tarek Soliman | 2012-02-10 21:17:27 -0600 |
commit | edc52497726139498bb68e3b3334a792b3602ede (patch) | |
tree | 2e474075f6c74e1cae19ed9e7154fcc8793c48bc /common | |
parent | 0deea6fbf89d608130d89b06dce2497e036d68aa (diff) | |
download | scummvm-rg350-edc52497726139498bb68e3b3334a792b3602ede.tar.gz scummvm-rg350-edc52497726139498bb68e3b3334a792b3602ede.tar.bz2 scummvm-rg350-edc52497726139498bb68e3b3334a792b3602ede.zip |
JANITORIAL: Fix template definition whitespace
Diffstat (limited to 'common')
-rw-r--r-- | common/hash-str.h | 4 | ||||
-rw-r--r-- | common/list_intern.h | 2 | ||||
-rw-r--r-- | common/serializer.h | 2 | ||||
-rw-r--r-- | common/singleton.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/common/hash-str.h b/common/hash-str.h index 1b8a57827a..08f0558bfd 100644 --- a/common/hash-str.h +++ b/common/hash-str.h @@ -60,14 +60,14 @@ struct IgnoreCase_Hash { // case insensitve hashing, then only because one wants to use // IgnoreCase_EqualTo, and then one has to specify a custom // hash anyway. -template <> +template<> struct Hash<String> { uint operator()(const String& s) const { return hashit(s.c_str()); } }; -template <> +template<> struct Hash<const char *> { uint operator()(const char *s) const { return hashit(s); diff --git a/common/list_intern.h b/common/list_intern.h index daa7446781..fef32fbe1e 100644 --- a/common/list_intern.h +++ b/common/list_intern.h @@ -35,7 +35,7 @@ namespace ListInternal { NodeBase *_next; }; - template <typename T> + template<typename T> struct Node : public NodeBase { T _data; diff --git a/common/serializer.h b/common/serializer.h index 5b08a9a9fa..4d97c9e930 100644 --- a/common/serializer.h +++ b/common/serializer.h @@ -30,7 +30,7 @@ namespace Common { #define SYNC_AS(SUFFIX,TYPE,SIZE) \ - template <typename T> \ + template<typename T> \ void syncAs ## SUFFIX(T &val, Version minVersion = 0, Version maxVersion = kLastVersion) { \ if (_version < minVersion || _version > maxVersion) \ return; \ diff --git a/common/singleton.h b/common/singleton.h index 43f1c0c4d0..a4f106c9d3 100644 --- a/common/singleton.h +++ b/common/singleton.h @@ -43,7 +43,7 @@ private: * singleton class might be pure virtual (or "abstract" in Java terminology), * and you specialise makeInstance to return an instance of a subclass. */ - //template <class T> + //template<class T> #if defined (_WIN32_WCE) || defined (_MSC_VER) || defined (__WINS__) //FIXME evc4 and msvc7 doesn't like it as private member public: |