summaryrefslogtreecommitdiff
path: root/src/tool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool.h')
-rw-r--r--src/tool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool.h b/src/tool.h
index f3362d892..c6bf0ad73 100644
--- a/src/tool.h
+++ b/src/tool.h
@@ -30,7 +30,7 @@ struct ToolGroupCap
int maxlevel = 1;
int uses = 20;
- ToolGroupCap() {}
+ ToolGroupCap() = default;
bool getTime(int rating, float *time) const
{
@@ -118,7 +118,7 @@ struct PunchDamageResult
int damage = 0;
int wear = 0;
- PunchDamageResult() {}
+ PunchDamageResult() = default;
};
struct ItemStack;