Started cleanup of SpiceManager

Clean boost message output
Update to new Ghoul with cppformat library
This commit is contained in:
Alexander Bock
2015-11-17 22:56:13 -05:00
parent 4f7ab5321f
commit f7f5f2e262
6 changed files with 38 additions and 31 deletions

View File

@@ -485,9 +485,9 @@ bool OpenSpaceEngine::loadSpiceKernels() {
LERROR("Configuration file does not contain a '" << ConfigurationManager::KeySpiceTimeKernel << "'");
return false;
}
SpiceManager::KernelIdentifier id =
SpiceManager::KernelHandle id =
SpiceManager::ref().loadKernel(timeKernel);
if (id == SpiceManager::KernelFailed) {
if (id == SpiceManager::InvalidKernel) {
LERROR("Error loading time kernel '" << timeKernel << "'");
return false;
}
@@ -501,7 +501,7 @@ bool OpenSpaceEngine::loadSpiceKernels() {
return false;
}
id = SpiceManager::ref().loadKernel(std::move(leapSecondKernel));
if (id == SpiceManager::KernelFailed) {
if (id == SpiceManager::InvalidKernel) {
LERROR("Error loading leap second kernel '" << leapSecondKernel << "'");
return false;
}