Skip to content

Commit

Permalink
Attempt fixing a static assert in else
Browse files Browse the repository at this point in the history
  • Loading branch information
davschneller committed Nov 11, 2024
1 parent 9ec435a commit a8e3371
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ class Logger {

return space();
} else {
static_assert(false, "Output for the given type not implemented.");
static_assert(sizeof(T) == 0,
"Output for the given type not implemented.");
}
}

Expand Down

0 comments on commit a8e3371

Please sign in to comment.