summaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/cpp_api/s_node.h')
-rw-r--r--src/script/cpp_api/s_node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/cpp_api/s_node.h b/src/script/cpp_api/s_node.h
index 92f07cee7..5b6509c83 100644
--- a/src/script/cpp_api/s_node.h
+++ b/src/script/cpp_api/s_node.h
@@ -32,8 +32,8 @@ class ScriptApiNode
public ScriptApiNodemeta
{
public:
- ScriptApiNode();
- virtual ~ScriptApiNode();
+ ScriptApiNode() = default;
+ virtual ~ScriptApiNode() = default;
bool node_on_punch(v3s16 p, MapNode node,
ServerActiveObject *puncher, PointedThing pointed);