aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdbsupport/packed.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdbsupport/packed.h b/gdbsupport/packed.h
index cd331b5..3468cf4 100644
--- a/gdbsupport/packed.h
+++ b/gdbsupport/packed.h
@@ -31,6 +31,8 @@ template<typename T, size_t Bytes = sizeof (T)>
struct packed
{
public:
+ packed () noexcept = default;
+
packed (T val)
{
m_val = val;