aboutsummaryrefslogtreecommitdiff
blob: e1c835770a353f2c5155d2d8b78973b3d1c4f6de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- resmanager.h.old	2004-06-09 18:53:52.357752656 -0500
+++ celestia-1.3.1/src/celutil/resmanager.h	2004-06-09 18:52:12.144987312 -0500
@@ -72,7 +72,7 @@
         {
             ResourceHandle h = handles.size();
             resources.insert(resources.end(), info);
-            handles.insert(ResourceHandleMap::value_type(info, h));
+            handles.insert(typename ResourceHandleMap::value_type(info, h));
             return h;
         }
     }
@@ -105,7 +105,7 @@
                     else
                     {
                         resources[h].state = ResourceLoaded;
-                        loadedResources.insert(NameMap::value_type(resources[h].resolvedName, resources[h].resource));
+                        loadedResources.insert(typename NameMap::value_type(resources[h].resolvedName, resources[h].resource));
                     }
                 }
             }