summaryrefslogtreecommitdiff
path: root/src/TgException.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/TgException.cpp')
-rw-r--r--src/TgException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TgException.cpp b/src/TgException.cpp
index 6ccd3d9..03a942c 100644
--- a/src/TgException.cpp
+++ b/src/TgException.cpp
@@ -2,7 +2,7 @@
namespace TgBot {
-TgBot::TgException::TgException(const std::string description) : runtime_error(description) {
+TgBot::TgException::TgException(const std::string& description) : runtime_error(description) {
}
}