Commit 08a71623 authored by Dave Partyka's avatar Dave Partyka
Browse files

COMP: attempt to fix glibc double linked list errors by changing global...

COMP: attempt to fix glibc double linked list errors by changing global strings to static char * literal types to prevent double deletions.
parent 44c38a96
......@@ -45,12 +45,12 @@ PURPOSE. See the above copyright notice for more information.
using namespace vtkstd;
#ifdef WIN32
string Slash("\\");
const static char * Slash = "\\";
#else
string Slash("/");
const static char * Slash = "/";
#endif
vtkCxxRevisionMacro(vtkWindBladeReader, "1.6");
vtkCxxRevisionMacro(vtkWindBladeReader, "1.7");
vtkStandardNewMacro(vtkWindBladeReader);
//----------------------------------------------------------------------------
......
......@@ -13,9 +13,9 @@
#include <algorithm>
#ifdef WIN32
string Slash("\\");
const static char * Slash = "\\";
#else
string Slash("/");
const static char * Slash = "/";
#endif
//////////////////////////////////////////////////////////////////////////////
......
......@@ -8,7 +8,11 @@
#include <algorithm>
#include "math.h"
extern string Slash;
#ifdef WIN32
const static char * Slash = "\\";
#else
const static char * Slash = "/";
#endif
//////////////////////////////////////////////////////////////////////////////
//
......
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