mirror of
https://github.com/oatpp/oatpp.git
synced 2024-11-27 08:30:07 +08:00
Merge pull request #809 from fhuberts/fix-Wctor-dtor-privacy
Fix compiler warnings (-Wctor-dtor-privacy)
This commit is contained in:
commit
0842dd4133
@ -142,7 +142,7 @@ add_compiler_flags("-Wtrivial-auto-var-init") # gcc
|
||||
# C++ Warning Flags
|
||||
# See https://github.com/vadz/gcc-warnings-tools for gcc flags and versions
|
||||
#
|
||||
#add_cxx_compiler_flags(CMAKE_CXX_FLAGS "-Wctor-dtor-privacy") # gcc 4.6.0
|
||||
add_cxx_compiler_flags(CMAKE_CXX_FLAGS "-Wctor-dtor-privacy") # gcc 4.6.0
|
||||
add_cxx_compiler_flags(CMAKE_CXX_FLAGS "-Wnoexcept") # gcc 4.6.0
|
||||
#add_cxx_compiler_flags(CMAKE_CXX_FLAGS "-Wold-style-cast") # gcc 4.6.0
|
||||
add_cxx_compiler_flags(CMAKE_CXX_FLAGS "-Woverloaded-virtual") # gcc 4.6.0
|
||||
|
@ -53,6 +53,9 @@ public:
|
||||
typedef std::list<std::shared_ptr<web::server::interceptor::ResponseInterceptor>> ResponseInterceptors;
|
||||
typedef web::protocol::http::incoming::RequestHeadersReader RequestHeadersReader;
|
||||
typedef protocol::http::utils::CommunicationUtils::ConnectionState ConnectionState;
|
||||
|
||||
HttpProcessor() = default;
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user