Simplifying class constructor with constructor delegate
ClosedPublic

Authored by andreagenor on Apr 7 2019, 6:29 AM.

Details

Summary

Signed-off-by: André Agenor <andreagenor@icloud.com>
This is a way to avoid errors and remove duplicate code

Diff Detail

Repository
R374 KolourPaint
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
andreagenor requested review of this revision.Apr 7 2019, 6:29 AM
andreagenor created this revision.

that looks factually wrong. what are you trying to accomplish here?

tcanabrava accepted this revision.Apr 8 2019, 1:56 PM

sorry, my mistake. this is correct.
https://en.cppreference.com/w/cpp/language/initializer_list#Delegating_constructor

I never seen this before. :)

This revision is now accepted and ready to land.Apr 8 2019, 1:56 PM
This revision was automatically updated to reflect the committed changes.