[Liblas-commits] hg-main-tree: add typename qualification

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Jul 21 12:45:45 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/9ad3e85bd7c1
changeset: 903:9ad3e85bd7c1
user:      Howard Butler <hobu.inc at gmail.com>
date:      Thu Jul 21 11:45:36 2011 -0500
description:
add typename qualification

diffstat:

 src/StageFactory.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 2099aa9028f2 -r 9ad3e85bd7c1 src/StageFactory.cpp
--- a/src/StageFactory.cpp	Thu Jul 21 10:25:58 2011 -0500
+++ b/src/StageFactory.cpp	Thu Jul 21 11:45:36 2011 -0500
@@ -139,7 +139,7 @@
 template<typename T>
 static T* findFirst(const std::string& type, std::map<std::string, T*> list)
 {
-    std::map<std::string, T*>::const_iterator iter = list.find(type);
+    typename std::map<std::string, T*>::const_iterator iter = list.find(type);
     if (iter == list.end())
         return NULL;
     return (*iter).second;


More information about the Liblas-commits mailing list