diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-12-01 23:09:03 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-12-03 15:38:36 +0100 |
commit | 0c351eb523d80fa534bd239b6d5e677e3d5635bb (patch) | |
tree | 4669ab13b22b2ba110241e483f3d75bcfcdd30eb /src/mbgl/util/rect.hpp | |
parent | 478472e501a6aa579174f547277176c19104deb1 (diff) | |
download | qtlocation-mapboxgl-0c351eb523d80fa534bd239b6d5e677e3d5635bb.tar.gz |
[core] use `default` instead of empty function body
Diffstat (limited to 'src/mbgl/util/rect.hpp')
-rw-r--r-- | src/mbgl/util/rect.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/rect.hpp b/src/mbgl/util/rect.hpp index 71d8078447..7bb3214b9b 100644 --- a/src/mbgl/util/rect.hpp +++ b/src/mbgl/util/rect.hpp @@ -5,7 +5,7 @@ namespace mbgl { template <typename T> struct Rect { - inline Rect() {} + inline Rect() = default; inline Rect(T x_, T y_, T w_, T h_) : x(x_), y(y_), w(w_), h(h_) {} T x = 0, y = 0; T w = 0, h = 0; |