summaryrefslogtreecommitdiff
path: root/src/mbgl/util/rect.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-12-01 23:09:03 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-12-03 15:38:36 +0100
commit0c351eb523d80fa534bd239b6d5e677e3d5635bb (patch)
tree4669ab13b22b2ba110241e483f3d75bcfcdd30eb /src/mbgl/util/rect.hpp
parent478472e501a6aa579174f547277176c19104deb1 (diff)
downloadqtlocation-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.hpp2
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;