Clang compile fix

This commit is contained in:
Alexander Bock
2016-06-06 03:34:56 +02:00
parent 14ee3af94d
commit 1430f6b9c2
2 changed files with 3 additions and 1 deletions

View File

@@ -25,6 +25,8 @@
#ifndef __PERFORMANCEHELPER_H__
#define __PERFORMANCEHELPER_H__
namespace openspace {
namespace performance {
} // namespace performance
} // namespace openspace

View File

@@ -86,7 +86,7 @@ void PerformanceManager::storeScenePerformanceMeasurements(
#ifdef _MSC_VER
strcpy_s(layout->sceneGraphEntries[i].name, node->name().length() + 1, node->name().c_str());
#else
strcpy(layout->entries[i].name, node->name().c_str());
strcpy(layout->sceneGraphEntries[i].name, node->name().c_str());
#endif
layout->sceneGraphEntries[i].currentRenderTime = 0;