]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
erasure-code/isa: don't use typename outside of template
authorSage Weil <sage@redhat.com>
Fri, 1 Aug 2014 00:45:49 +0000 (17:45 -0700)
committerSage Weil <sage@redhat.com>
Fri, 1 Aug 2014 00:45:49 +0000 (17:45 -0700)
error: erasure-code/isa/ErasureCodeIsa.h:141: using 'typename' outside of template

Signed-off-by: Sage Weil <sage@redhat.com>
src/erasure-code/isa/ErasureCodeIsa.h

index 1d553087cf49bc03b9d03caecad312c6622eb885..f42756ec67d9a1576451acf9bacfc6eb2cdb04b8 100644 (file)
@@ -138,7 +138,7 @@ public:
   }
 
   // we implement an LRU cache for coding matrix - the cache size is sufficient up to (10,4) decodings
-  typedef typename std::pair<std::list<std::string>::iterator, bufferptr> lru_entry_t;
+  typedef std::pair<std::list<std::string>::iterator, bufferptr> lru_entry_t;
 
   std::map<std::string, lru_entry_t> g_decode_tbls_map;
   std::list<std::string> g_decode_tbls_lru;