please help

please help me at catch it says "C1075 {: no matching token found" twice and i dont know what to do

static int total_alloc;
static std::map<DWORD, DWORD> cache;
try
{
DWORD& cached_func = cache.at((DWORD)funcaddr);
return (T)(cached_func);
}
catch (std::out_of_range{} //cache miss, do nothing and continue
DWORD func_size = get_func_end(funcaddr) - funcaddr;
total_alloc += func_size;
if (total_alloc > max_alloc)
return (T)(funcaddr); //failsafe, using too much memory (over 1MB)
The catch statement is missing the )

 
catch (std::out_of_range){} //cache miss, do nothing and continue 


Topic archived. No new replies allowed.