Remove setName function from OpenSpaceModule and move naming into constructor

This commit is contained in:
Alexander Bock
2015-06-22 22:57:15 +02:00
parent 9ed5ee4469
commit 978b535a2f
8 changed files with 26 additions and 26 deletions

View File

@@ -51,9 +51,9 @@
namespace openspace {
BaseModule::BaseModule() {
setName("Base");
}
BaseModule::BaseModule()
: OpenSpaceModule("Base")
{}
bool BaseModule::initialize() {
bool success = OpenSpaceModule::initialize();