Skip to content

Commit

Permalink
Remove reference from category_region typeids
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmadsen committed Jun 29, 2022
1 parent e2200d1 commit 1f6529f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/lib/omnitrace/library/components/category_region.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ category_region<CategoryT>::audit(const gotcha_data_t& _data, audit::incoming,
{
OMNITRACE_SCOPED_THREAD_STATE(ThreadState::Internal);
start(_data.tool_id.c_str(), "args",
JOIN(", ", JOIN('=', tim::try_demangle<std::decay_t<Args>>(), _args)...));
JOIN(", ",
JOIN('=', tim::try_demangle<std::remove_reference_t<Args>>(), _args)...));
}

template <typename CategoryT>
Expand Down

0 comments on commit 1f6529f

Please sign in to comment.