clang-modernize -add-override on headers

pull/128/merge
Nils Maier 2013-09-19 02:09:05 +02:00
parent e2700f50a5
commit 3b9988251f
6 changed files with 8 additions and 8 deletions

View File

@ -126,7 +126,7 @@ public:
virtual bool getCumulative() const CXX11_OVERRIDE;
virtual void setCumulative(bool f);
virtual void setCumulative(bool f) CXX11_OVERRIDE;
enum Flag {
FLAG_HIDDEN = 1,

View File

@ -46,7 +46,7 @@ class AbstractProxyResponseCommand : public AbstractCommand {
private:
std::shared_ptr<HttpConnection> httpConnection_;
protected:
virtual bool executeInternal();
virtual bool executeInternal() CXX11_OVERRIDE;
const std::shared_ptr<HttpConnection>& getHttpConnection() const
{

View File

@ -81,7 +81,7 @@ public:
virtual ~Exception() throw();
virtual const char* what() const throw();
virtual const char* what() const throw() CXX11_OVERRIDE;
std::string stackTrace() const;

View File

@ -63,7 +63,7 @@ private:
public:
HandshakeExtensionMessage();
virtual std::string getPayload();
virtual std::string getPayload() CXX11_OVERRIDE;
virtual uint8_t getExtensionMessageID() const CXX11_OVERRIDE
{

View File

@ -85,7 +85,7 @@ private:
#endif // ENABLE_MESSAGE_DIGEST
protected:
bool executeInternal();
bool executeInternal() CXX11_OVERRIDE;
bool shouldInflateContentEncoding(HttpResponse* httpResponse);

View File

@ -68,16 +68,16 @@ public:
// wrapper for fclose
int close();
// wrapper for fflush
int flush();
int flush() CXX11_OVERRIDE;
// Return true if file is opened && feof(fp_) != 0. Otherwise
// returns false.
bool eof();
// Returns true if file supports ANSI color escape codes.
bool supportsColor();
bool supportsColor() CXX11_OVERRIDE;
// Convenient method. Read data to end of file and write them into
// given stream. Returns written size.
size_t transfer(std::ostream& out);
int vprintf(const char* format, va_list va);
int vprintf(const char* format, va_list va) CXX11_OVERRIDE;
// Mode for reading
static const char READ[];
// Mode for writing