summaryrefslogtreecommitdiff
path: root/plugin/type_inet/sql_type_inet.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/type_inet/sql_type_inet.h')
-rw-r--r--plugin/type_inet/sql_type_inet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/type_inet/sql_type_inet.h b/plugin/type_inet/sql_type_inet.h
index c1abb11fc59..64d26953cff 100644
--- a/plugin/type_inet/sql_type_inet.h
+++ b/plugin/type_inet/sql_type_inet.h
@@ -67,8 +67,8 @@ protected:
memcpy(m_buffer, str, length);
return false;
}
- // Non-initializing constructor
- Inet4() { }
+
+ Inet4() = default;
public:
void to_binary(char *dst, size_t dstsize) const
{
@@ -161,7 +161,7 @@ protected:
return false;
}
- Inet6() { }
+ Inet6() = default;
public:
static uint binary_length() { return IN6_ADDR_SIZE; }