[scribus] a development question on initializing ItemMultipleDuplicateData
ale rimoldi
ale.comp_06 at xox.ch
Mon Sep 17 08:21:30 UTC 2018
hi václav,
thank you for the precious comment!
> and then you can omit the "{}"
personally, i like to see the "{}"s when initializing... to show that i
am caring about how the values are initialized (in this case i did
wrong, but i still was caring!)
am i doing it wrong? (ok, there is little that can be defined as
**wrong** in c++... : - )
> as well (If you upgraded to c++11, you can put (POD and non-POD)
> initilizers inline). In that case, you can also delete the memset(...)
> because that will have been done by the ctor already.
since c++ 11 is ok in scribus, now, i've initialized the members inline:
https://github.com/aoloe/scribus/commit/fbc8e2144b6870c3e56bc1cfd12feaa6cbf05860
ciao && thanks!
a.l.e
More information about the scribus
mailing list