From c42753338924bb29c61081c9f269772f89bcd808 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Fri, 18 Aug 2017 18:18:25 +0200 Subject: Modernize various files (src/m*) (#6267) * Modernize various files (src/m*) * range-based for loops * code style * C++ headers instead of C headers * Default operators * empty function Thanks to clang-tidy --- src/mapnode.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mapnode.h') diff --git a/src/mapnode.h b/src/mapnode.h index 200a51207..4b75fe227 100644 --- a/src/mapnode.h +++ b/src/mapnode.h @@ -137,8 +137,7 @@ struct MapNode */ u8 param2; - MapNode() - { } + MapNode() = default; MapNode(content_t content, u8 a_param1=0, u8 a_param2=0) : param0(content), -- cgit v1.2.3