Commit 4defb951 authored by Alessio Netti's avatar Alessio Netti
Browse files

Fixing obscure memory corruption error upon termination

parent e86fe113
......@@ -54,9 +54,9 @@ class SensorNavigator {
//Identifies the root supernode
static const string rootKey;
static const char *rootKey;
//Template identifier
static const string templateKey;
static const char *templateKey;
//Separator for tree levels used in auto mode
static const char pathSeparator;
......@@ -27,8 +27,8 @@
#include "sensornavigator.h"
const string SensorNavigator::rootKey = "__root__";
const string SensorNavigator::templateKey = "__template__";
const char* SensorNavigator::rootKey = "__root__";
const char* SensorNavigator::templateKey = "__template__";
const char SensorNavigator::pathSeparator = '/';
void SensorNavigator::clearTree() {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment