mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-25 06:19:02 -06:00
Clang compile fix
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
#ifndef __PERFORMANCEHELPER_H__
|
||||
#define __PERFORMANCEHELPER_H__
|
||||
|
||||
namespace openspace {
|
||||
namespace performance {
|
||||
|
||||
} // namespace performance
|
||||
} // namespace openspace
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user