Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include/cinder/msw/OutputDebugStringStream.h | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
- diff --git a/include/cinder/msw/OutputDebugStringStream.h b/include/cinder/msw/OutputDebugStringStream.h
- index 1649090..7636d45 100644
- --- a/include/cinder/msw/OutputDebugStringStream.h
- +++ b/include/cinder/msw/OutputDebugStringStream.h
- @@ -49,8 +49,8 @@ public:
- protected:
- int sync() {
- - output_debug_string(str().c_str());
- - str(std::basic_string<CharT>()); // Clear the string buffer
- + output_debug_string(this->str().c_str());
- + this->str(std::basic_string<CharT>()); // Clear the string buffer
- return 0;
- }
- @@ -81,7 +81,7 @@ public:
- (new basic_debugbuf<CharT, TraitsT>()) {}
- ~basic_dostream()
- {
- - delete rdbuf();
- + delete this->rdbuf();
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment