mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02:00
Removed version.h.
This commit is contained in:
parent
d5488e8cd1
commit
70fb51ca3e
@ -69,7 +69,6 @@ def configure(env):
|
|||||||
env.Append(CPPDEFINES=["OPENSSL_FOUND"])
|
env.Append(CPPDEFINES=["OPENSSL_FOUND"])
|
||||||
|
|
||||||
env.Prepend(CPPPATH=["#modules/drogon/drogon/lib/inc"])
|
env.Prepend(CPPPATH=["#modules/drogon/drogon/lib/inc"])
|
||||||
env.Prepend(CPPPATH=["#modules/drogon/drogon/config"])
|
|
||||||
env.Prepend(CPPPATH=["#modules/drogon"])
|
env.Prepend(CPPPATH=["#modules/drogon"])
|
||||||
|
|
||||||
env.Prepend(CPPPATH=["#modules/drogon/trantor"])
|
env.Prepend(CPPPATH=["#modules/drogon/trantor"])
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
#define MAJOR 1
|
|
||||||
#define MINOR 6
|
|
||||||
#define PATCH 0
|
|
||||||
#define DROGON_VERSION "1.6.0"
|
|
||||||
#define DROGON_VERSION_SHA1 ""
|
|
@ -33,7 +33,6 @@
|
|||||||
#include <drogon/Session.h>
|
#include <drogon/Session.h>
|
||||||
|
|
||||||
#include <drogon/utils/Utilities.h>
|
#include <drogon/utils/Utilities.h>
|
||||||
#include <drogon/version.h>
|
|
||||||
#include <json/json.h>
|
#include <json/json.h>
|
||||||
#include <trantor/utils/AsyncFileLogger.h>
|
#include <trantor/utils/AsyncFileLogger.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
@ -95,11 +94,11 @@ drogon::InitBeforeMainFunction drogon::HttpAppFrameworkImpl::initFirst_([]() {
|
|||||||
|
|
||||||
namespace drogon {
|
namespace drogon {
|
||||||
std::string getVersion() {
|
std::string getVersion() {
|
||||||
return DROGON_VERSION;
|
return "1";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string getGitCommit() {
|
std::string getGitCommit() {
|
||||||
return DROGON_VERSION_SHA1;
|
return "DROGON_VERSION_SHA1";
|
||||||
}
|
}
|
||||||
|
|
||||||
HttpResponsePtr defaultErrorHandler(HttpStatusCode code) {
|
HttpResponsePtr defaultErrorHandler(HttpStatusCode code) {
|
||||||
|
Loading…
Reference in New Issue
Block a user