*: remove lots of GCC 4.8 fallback code
We can remove those C++11 and C++14 kludges because we require GCC 4.9 now.
This commit is contained in:
@@ -158,10 +158,7 @@ public:
|
||||
static HttpdOutput *Create(EventLoop &event_loop,
|
||||
const ConfigBlock &block);
|
||||
|
||||
#if CLANG_OR_GCC_VERSION(4,7)
|
||||
constexpr
|
||||
#endif
|
||||
static HttpdOutput *Cast(AudioOutput *ao) {
|
||||
static constexpr HttpdOutput *Cast(AudioOutput *ao) {
|
||||
return &ContainerCast(*ao, &HttpdOutput::base);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user