Ignore:
Timestamp:
Jun 25, 2014, 3:58:19 AM (5 years ago)
Author:
ldelgass
Message:

Fix crash bug in user errors: was returning pointer to temporary. Return a
copy of string object from getUserMessages instead of pointer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/Trace.h

    r3613 r4422  
    88#ifndef NV_TRACE_H
    99#define NV_TRACE_H
     10
     11#include <string>
    1012
    1113#include <GL/glew.h>
     
    2224extern void logUserMessage(const char* format, ...);
    2325
    24 extern const char *getUserMessages();
     26extern std::string getUserMessages();
    2527
    2628extern void clearUserMessages();
Note: See TracChangeset for help on using the changeset viewer.