layers: remove static declaration of get_my_data_ptr
authorMike Stroyan <mike@LunarG.com>
Fri, 25 Sep 2015 23:02:22 +0000 (17:02 -0600)
committerMike Stroyan <mike@LunarG.com>
Fri, 25 Sep 2015 23:02:22 +0000 (17:02 -0600)
Windows compiler won't allow static on specialization.

layers/image.cpp

index b6d03a147026a3eb55bc85cd950a2d55b3505d8e..c3ff045cd3b7a45989ca1290a81b0866ad7275aa 100644 (file)
@@ -57,10 +57,6 @@ static unordered_map<void*, layer_data*> layer_data_map;
 static device_table_map image_device_table_map;
 static instance_table_map image_instance_table_map;
 
-template static layer_data *get_my_data_ptr<layer_data>(
-        void *data_key,
-        std::unordered_map<void *, layer_data *> &data_map);
-
 // "my device data"
 debug_report_data *mdd(const void* object)
 {