OATPP_VERSION stemp added

This commit is contained in:
lganzzzo 2018-06-27 02:11:59 +03:00
parent 8b91751bbe
commit 075c8e45c0
2 changed files with 3 additions and 2 deletions

View File

@ -32,6 +32,7 @@
#include <unordered_map>
#include <stdexcept>
#define OATPP_VERSION "0.18.6"
#define OATPP_ASSERT(EXP) \
if(!(EXP)) { \

View File

@ -100,8 +100,8 @@ const Status Status::CODE_511(511, "Network Authentication Required");
const char* const Header::Value::CONNECTION_CLOSE = "close";
const char* const Header::Value::CONNECTION_KEEP_ALIVE = "keep-alive";
const char* const Header::Value::SERVER = "oatpp/0.18";
const char* const Header::Value::USER_AGENT = "oatpp/0.18";
const char* const Header::Value::SERVER = "oatpp/" OATPP_VERSION;
const char* const Header::Value::USER_AGENT = "oatpp/" OATPP_VERSION;
const char* const Header::Value::TRANSFER_ENCODING_CHUNKED = "chunked";