From 0d5880e72be72e972229f4520323b2e8b649ba7c Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 24 Aug 2021 22:57:47 +0200 Subject: [PATCH] More const. --- statustemp.cpp | 2 +- statusweather.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/statustemp.cpp b/statustemp.cpp index 85123f6..1bfeb10 100644 --- a/statustemp.cpp +++ b/statustemp.cpp @@ -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"()" << e.what() << "" << std::endl; diff --git a/statusweather.cpp b/statusweather.cpp index e3a4cc0..80dde65 100644 --- a/statusweather.cpp +++ b/statusweather.cpp @@ -209,7 +209,7 @@ int main() } } } - catch (std::exception &e) + catch (const std::exception &e) { std::cout << R"()" << e.what() << "" << std::endl;