More const.

This commit is contained in:
tastytea 2021-08-24 22:57:47 +02:00
parent 5eaad69244
commit 0d5880e72b
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ int main(int argc, char *argv[])
std::this_thread::sleep_for(5s);
}
}
catch (std::exception &e)
catch (const std::exception &e)
{
std::cout << R"(<span color="red">)" << e.what() << "</span>"
<< std::endl;

View File

@ -209,7 +209,7 @@ int main()
}
}
}
catch (std::exception &e)
catch (const std::exception &e)
{
std::cout << R"(<span color="red">)" << e.what() << "</span>"
<< std::endl;