@@ -19,7 +19,7 @@ class key_at
1919
2020 public:
2121 // native bool:map_add(Map:map, key, value, ...);
22- template <key_ftype KeyFactory, typename value_ftype ValueFactory>
22+ template <key_ftype KeyFactory, value_ftype ValueFactory>
2323 static cell AMX_NATIVE_CALL map_add (AMX *amx, cell *params)
2424 {
2525 auto ptr = reinterpret_cast <map_t *>(params[1 ]);
@@ -29,7 +29,7 @@ class key_at
2929 }
3030
3131 // native bool:map_set(Map:map, key, value, ...);
32- template <key_ftype KeyFactory, typename value_ftype ValueFactory>
32+ template <key_ftype KeyFactory, value_ftype ValueFactory>
3333 static cell AMX_NATIVE_CALL map_set (AMX *amx, cell *params)
3434 {
3535 auto ptr = reinterpret_cast <map_t *>(params[1 ]);
@@ -39,7 +39,7 @@ class key_at
3939 }
4040
4141 // native map_get(Map:map, key, ...);
42- template <key_ftype KeyFactory, typename result_ftype ValueFactory>
42+ template <key_ftype KeyFactory, result_ftype ValueFactory>
4343 static cell AMX_NATIVE_CALL map_get (AMX *amx, cell *params)
4444 {
4545 auto ptr = reinterpret_cast <map_t *>(params[1 ]);
0 commit comments