Commit ac7b22ba authored by Dominik Charousset's avatar Dominik Charousset

Fix skipping of __cdecl in function signature

parent 6643a9f1
...@@ -447,11 +447,11 @@ void logger::render_fun_prefix(std::ostream& out, const event& x) { ...@@ -447,11 +447,11 @@ void logger::render_fun_prefix(std::ostream& out, const event& x) {
break; break;
} }
} }
// MSVC puts '__cdecl' between the return type and the function name.
skip("__cdecl ");
reduced.remove_prefix(pos); reduced.remove_prefix(pos);
}; };
skip_return_type(); skip_return_type();
// MSVC puts '__cdecl' between the return type and the function name.
skip("__cdecl ");
// We reached the function name itself and can recursively print the prefix. // We reached the function name itself and can recursively print the prefix.
reduce_symbol(out, reduced); reduce_symbol(out, reduced);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment