Skip to content

Commit

Permalink
Move it up a function
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 committed Jul 16, 2024
1 parent 33e6a42 commit cac8f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/modules/vprof.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ std::string GetCurrentTime() { // Yoink from vprof module
return ss.str();
}

std::stringstream ss;
static SpewRetval_t VProf_Spew(SpewType_t type, const char *msg)
{
ss << msg;

return SPEW_CONTINUE;
}

std::stringstream ss;
Detouring::Hook detour_CVProfile_OutputReport;
void hook_CVProfile_OutputReport(void* fancy, int type, const tchar* pszStartMode, int budgetGroupID)
{
Expand Down

0 comments on commit cac8f68

Please sign in to comment.