Skip to content

Commit 9499bc2

Browse files
committed
fix bool increment deprecation warning
incrementing expression of type bool is deprecated
1 parent 5493b15 commit 9499bc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void signalLogger(int sig)
5858
#include <exception>
5959
void exceptionLogger()
6060
{
61-
static bool logged = false;
61+
static int logged = 0;
6262
std::string error;
6363
try {
6464
if (!logged++) throw;

0 commit comments

Comments
 (0)