Skip to content

Commit

Permalink
Avoid unused parameter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ksperling-apple committed Jul 31, 2024
1 parent b6b60ca commit 76719a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/support/ObjectDump.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static_assert(IsDumpable<DumpableTypeExample>::value);
* Calls DumpToLog() on the object, if supported.
*/
template <class T>
void DumpObjectToLog(const T * object)
void DumpObjectToLog([[maybe_unused]] const T * object)
{
if constexpr (IsDumpable<T>::value)
{
Expand Down

0 comments on commit 76719a6

Please sign in to comment.