[Summary] Grigoriy has no time to push it: he should review it in

the afterwards.
This commit is contained in:
VKamyshniy 2015-02-11 18:17:59 +02:00
parent e7c0171c4d
commit d29b3786f1

View file

@ -123,6 +123,7 @@ PBD::demangle (std::string const & l) /* JE - !!!! 'PBD' namespace might possibl
void void
PBD::stacktrace( std::ostream& out, int) PBD::stacktrace( std::ostream& out, int)
{ {
#ifdef DEBUG
const size_t levels = 62; // does not support more then 62 levels of stacktrace const size_t levels = 62; // does not support more then 62 levels of stacktrace
unsigned int i; unsigned int i;
void * stack[ levels ]; void * stack[ levels ];
@ -152,6 +153,7 @@ PBD::stacktrace( std::ostream& out, int)
out.flush(); out.flush();
free( symbol ); free( symbol );
#endif
} }
void void