mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Enabling -Winconsistent-missing-destructor-override [#CLICKHOUSE-2]
This commit is contained in:
parent
e6e1ff4284
commit
29a6a85ccf
@ -16,7 +16,6 @@ class Context;
|
|||||||
class LocalServer : public Poco::Util::Application
|
class LocalServer : public Poco::Util::Application
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
LocalServer();
|
LocalServer();
|
||||||
|
|
||||||
void initialize(Poco::Util::Application & self) override;
|
void initialize(Poco::Util::Application & self) override;
|
||||||
@ -25,10 +24,9 @@ public:
|
|||||||
|
|
||||||
void init(int argc, char ** argv);
|
void init(int argc, char ** argv);
|
||||||
|
|
||||||
~LocalServer();
|
~LocalServer() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
/** Composes CREATE subquery based on passed arguments (--structure --file --table and --input-format)
|
/** Composes CREATE subquery based on passed arguments (--structure --file --table and --input-format)
|
||||||
* This query will be executed first, before queries passed through --query argument
|
* This query will be executed first, before queries passed through --query argument
|
||||||
* Returns empty string if it cannot compose that query.
|
* Returns empty string if it cannot compose that query.
|
||||||
@ -46,7 +44,6 @@ private:
|
|||||||
std::string getHelpFooter() const;
|
std::string getHelpFooter() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
std::unique_ptr<Context> context;
|
std::unique_ptr<Context> context;
|
||||||
|
|
||||||
/// Settings specified via command line args
|
/// Settings specified via command line args
|
||||||
|
@ -20,10 +20,7 @@ public:
|
|||||||
/// Adds a child channel
|
/// Adds a child channel
|
||||||
void addChannel(Poco::AutoPtr<Poco::Channel> channel);
|
void addChannel(Poco::AutoPtr<Poco::Channel> channel);
|
||||||
|
|
||||||
~OwnSplitChannel() override {}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
using ChannelPtr = Poco::AutoPtr<Poco::Channel>;
|
using ChannelPtr = Poco::AutoPtr<Poco::Channel>;
|
||||||
/// Handler and its pointer casted to extended interface
|
/// Handler and its pointer casted to extended interface
|
||||||
using ExtendedChannelPtrPair = std::pair<ChannelPtr, ExtendedLogChannel *>;
|
using ExtendedChannelPtrPair = std::pair<ChannelPtr, ExtendedLogChannel *>;
|
||||||
|
Loading…
Reference in New Issue
Block a user