summaryrefslogtreecommitdiff
path: root/libdbpp/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdbpp/error.h')
-rw-r--r--libdbpp/error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbpp/error.h b/libdbpp/error.h
index 7c36281..6c162f9 100644
--- a/libdbpp/error.h
+++ b/libdbpp/error.h
@@ -1,7 +1,7 @@
#ifndef DB_ERROR_H
#define DB_ERROR_H
-#include <stdlib.h>
+#include <cstdlib>
#include <exception.h>
#include <visibility.h>
@@ -36,7 +36,7 @@ namespace DB {
class DLL_PUBLIC UnexpectedNullValue : public AdHoc::Exception<Error> {
public:
/// Create a new UnexpectedNullValue given the source type name.
- UnexpectedNullValue(const char * const from);
+ explicit UnexpectedNullValue(const char * const from);
private:
std::string message() const noexcept override;