Index: sql/diagnostic_error_delegate.h |
diff --git a/sql/diagnostic_error_delegate.h b/sql/diagnostic_error_delegate.h |
index e0c42bae9098e59d1a5b3863ebce54ef3bfbf06e..4b8ce323018a158e6b42ed6eebedaeb78d7b18a4 100644 |
--- a/sql/diagnostic_error_delegate.h |
+++ b/sql/diagnostic_error_delegate.h |
@@ -24,6 +24,8 @@ namespace sql { |
template <class UniqueT> |
class DiagnosticErrorDelegate : public ErrorDelegate { |
public: |
+ DiagnosticErrorDelegate() {} |
+ virtual ~DiagnosticErrorDelegate() {} |
virtual int OnError(int error, Connection* connection, |
Statement* stmt) { |
@@ -43,6 +45,8 @@ class DiagnosticErrorDelegate : public ErrorDelegate { |
// 26 currently but 50 gives them room to grow. |
UMA_HISTOGRAM_ENUMERATION(UniqueT::name(), error, 50); |
} |
+ |
+ DISALLOW_COPY_AND_ASSIGN(DiagnosticErrorDelegate); |
}; |
} // namespace sql |