Skip to content

Commit 3640a65

Browse files
committed
Add explicit destructor to bindingmap class
Required for some compilers
1 parent f2b0f7f commit 3640a65

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

BindingMap.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ extern "C"
1818
#include "lauxlib.h"
1919
};
2020

21-
class BaseBindingMap {
21+
class BaseBindingMap
22+
{
2223
public:
2324
virtual ~BaseBindingMap() = default;
2425
};
@@ -74,6 +75,8 @@ class BindingMap : public BaseBindingMap
7475
maxBindingID(0)
7576
{ }
7677

78+
~BindingMap() noexcept override = default;
79+
7780
/*
7881
* Insert a new binding from `key` to `ref`, which lasts for `shots`-many pushes.
7982
*

0 commit comments

Comments
 (0)