diff options
| author | 2018-04-19 21:34:36 -0400 | |
|---|---|---|
| committer | 2018-04-19 21:34:36 -0400 | |
| commit | 3990da488b91209e9d9c71d7290694baae8936c8 (patch) | |
| tree | 8a6957dafa6b42ea2719fb2be95854f6ff6eca28 /src/core/hle | |
| parent | Merge pull request #356 from lioncash/shader (diff) | |
| download | yuzu-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.cpp | 14 |
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 | ||
| 151 | class NativeWindow : public Parcel { | 151 | class NativeWindow : public Parcel { |
| 152 | public: | 152 | public: |
| 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 | ||
| 198 | class IGBPConnectResponseParcel : public Parcel { | 198 | class IGBPConnectResponseParcel : public Parcel { |
| 199 | public: | 199 | public: |
| 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 | ||
| 249 | class IGBPSetPreallocatedBufferResponseParcel : public Parcel { | 249 | class IGBPSetPreallocatedBufferResponseParcel : public Parcel { |
| 250 | public: | ||
| 251 | IGBPSetPreallocatedBufferResponseParcel() : Parcel() {} | ||
| 252 | ~IGBPSetPreallocatedBufferResponseParcel() override = default; | ||
| 253 | |||
| 254 | protected: | 250 | protected: |
| 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 | ||
| 290 | class IGBPDequeueBufferResponseParcel : public Parcel { | 286 | class IGBPDequeueBufferResponseParcel : public Parcel { |
| 291 | public: | 287 | public: |
| 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 | ||
| 295 | protected: | 291 | protected: |
| @@ -383,7 +379,7 @@ public: | |||
| 383 | 379 | ||
| 384 | class IGBPQueueBufferResponseParcel : public Parcel { | 380 | class IGBPQueueBufferResponseParcel : public Parcel { |
| 385 | public: | 381 | public: |
| 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 | ||
| 425 | class IGBPQueryResponseParcel : public Parcel { | 421 | class IGBPQueryResponseParcel : public Parcel { |
| 426 | public: | 422 | public: |
| 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 | ||
| 430 | protected: | 426 | protected: |