summaryrefslogtreecommitdiff
path: root/include/tgbot/TgException.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tgbot/TgException.h')
-rw-r--r--include/tgbot/TgException.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/tgbot/TgException.h b/include/tgbot/TgException.h
index a83c3fc..47b11f2 100644
--- a/include/tgbot/TgException.h
+++ b/include/tgbot/TgException.h
@@ -1,6 +1,8 @@
#ifndef TGBOT_TGEXCEPTION_H
#define TGBOT_TGEXCEPTION_H
+#include "tgbot/export.h"
+
#include <string>
#include <stdexcept>
@@ -11,7 +13,7 @@ namespace TgBot {
*
* @ingroup general
*/
-class TgException : public std::runtime_error {
+class TGBOT_API TgException : public std::runtime_error {
public:
explicit TgException(const std::string description);