summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar Lioncash2018-04-19 21:34:36 -0400
committerGravatar Lioncash2018-04-19 21:34:36 -0400
commit3990da488b91209e9d9c71d7290694baae8936c8 (patch)
tree8a6957dafa6b42ea2719fb2be95854f6ff6eca28 /src/core/hle
parentMerge pull request #356 from lioncash/shader (diff)
downloadyuzu-3990da488b91209e9d9c71d7290694baae8936c8.tar.gz
yuzu-3990da488b91209e9d9c71d7290694baae8936c8.tar.xz
yuzu-3990da488b91209e9d9c71d7290694baae8936c8.zip
vi: Remove redundant initializers in the constructors
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/vi/vi.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index 7c319ee67..b712daa2b 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -150,7 +150,7 @@ private:
150 150
151class NativeWindow : public Parcel { 151class NativeWindow : public Parcel {
152public: 152public:
153 explicit NativeWindow(u32 id) : Parcel() { 153 explicit NativeWindow(u32 id) {
154 data.id = id; 154 data.id = id;
155 } 155 }
156 ~NativeWindow() override = default; 156 ~NativeWindow() override = default;
@@ -197,7 +197,7 @@ public:
197 197
198class IGBPConnectResponseParcel : public Parcel { 198class IGBPConnectResponseParcel : public Parcel {
199public: 199public:
200 explicit IGBPConnectResponseParcel(u32 width, u32 height) : Parcel() { 200 explicit IGBPConnectResponseParcel(u32 width, u32 height) {
201 data.width = width; 201 data.width = width;
202 data.height = height; 202 data.height = height;
203 } 203 }
@@ -247,10 +247,6 @@ public:
247}; 247};
248 248
249class IGBPSetPreallocatedBufferResponseParcel : public Parcel { 249class IGBPSetPreallocatedBufferResponseParcel : public Parcel {
250public:
251 IGBPSetPreallocatedBufferResponseParcel() : Parcel() {}
252 ~IGBPSetPreallocatedBufferResponseParcel() override = default;
253
254protected: 250protected:
255 void SerializeData() override { 251 void SerializeData() override {
256 // TODO(Subv): Find out what this means 252 // TODO(Subv): Find out what this means
@@ -289,7 +285,7 @@ static_assert(sizeof(BufferProducerFence) == 36, "BufferProducerFence has wrong
289 285
290class IGBPDequeueBufferResponseParcel : public Parcel { 286class IGBPDequeueBufferResponseParcel : public Parcel {
291public: 287public:
292 explicit IGBPDequeueBufferResponseParcel(u32 slot) : Parcel(), slot(slot) {} 288 explicit IGBPDequeueBufferResponseParcel(u32 slot) : slot(slot) {}
293 ~IGBPDequeueBufferResponseParcel() override = default; 289 ~IGBPDequeueBufferResponseParcel() override = default;
294 290
295protected: 291protected:
@@ -383,7 +379,7 @@ public:
383 379
384class IGBPQueueBufferResponseParcel : public Parcel { 380class IGBPQueueBufferResponseParcel : public Parcel {
385public: 381public:
386 explicit IGBPQueueBufferResponseParcel(u32 width, u32 height) : Parcel() { 382 explicit IGBPQueueBufferResponseParcel(u32 width, u32 height) {
387 data.width = width; 383 data.width = width;
388 data.height = height; 384 data.height = height;
389 } 385 }
@@ -424,7 +420,7 @@ public:
424 420
425class IGBPQueryResponseParcel : public Parcel { 421class IGBPQueryResponseParcel : public Parcel {
426public: 422public:
427 explicit IGBPQueryResponseParcel(u32 value) : Parcel(), value(value) {} 423 explicit IGBPQueryResponseParcel(u32 value) : value(value) {}
428 ~IGBPQueryResponseParcel() override = default; 424 ~IGBPQueryResponseParcel() override = default;
429 425
430protected: 426protected: