More const.
This commit is contained in:
parent
5eaad69244
commit
0d5880e72b
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue