subsurface/subsurface-core
Tomaz Canabrava f25dce8511 Create a constructor with default parameters for some structs
Structs and classes in C++ are basically the same thing and we want to
create a few zero-initialized values for some of them; Sadly, C++ doesn't
have the nice static struct initialization that C has.

One way to deal with that is to create a constructor and pass default
values to it, another is lambda-initialization, but we don't use C++11,
yet.

Since we initializate stuff on the constructor, we don't need to
re-initializate things again on the initialization list (which is also why
I removed the QStrings from the initialization lists, they are
automatically initialized to empty)

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-07 11:13:11 -08:00
..
2016-01-26 09:51:14 -08:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2015-11-15 12:10:37 -08:00
2015-11-02 19:54:34 -08:00
2016-03-03 14:29:29 -08:00
2016-01-11 06:14:45 -08:00
2016-02-03 06:06:23 -08:00
2016-01-31 13:06:39 -08:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2015-11-15 12:10:37 -08:00
2016-01-31 13:06:39 -08:00
2015-11-09 18:00:56 -08:00
2016-01-24 21:26:45 -08:00
2016-02-01 18:01:05 -08:00
2016-01-10 14:12:23 -08:00
2015-12-27 21:31:13 -08:00
2016-01-24 21:27:05 -08:00