Changes between Initial Version and Version 1 of Ticket #3256, comment 5


Ignore:
Timestamp:
2015-04-01T16:46:55Z (10 years ago)
Author:
Rüdiger Franke

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3256, comment 5

    initial v1  
    1 I think the overloaded what() method was the problem. It created the message in a local variable and returned it. r25356 creates the message during construction instead, exploiting its storage in std::runtime_error.
     1I think the overloaded what() method was the problem. It created the message in a local variable and returned a pointer to it. r25356 creates the message during construction instead, exploiting its storage in std::runtime_error.