Guest User

Untitled

a guest
Jul 17th, 2024
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. include/cinder/msw/OutputDebugStringStream.h | 6 +++---
  2. 1 file changed, 3 insertions(+), 3 deletions(-)
  3.  
  4. diff --git a/include/cinder/msw/OutputDebugStringStream.h b/include/cinder/msw/OutputDebugStringStream.h
  5. index 1649090..7636d45 100644
  6. --- a/include/cinder/msw/OutputDebugStringStream.h
  7. +++ b/include/cinder/msw/OutputDebugStringStream.h
  8. @@ -49,8 +49,8 @@ public:
  9.  
  10. protected:
  11. int sync() {
  12. - output_debug_string(str().c_str());
  13. - str(std::basic_string<CharT>()); // Clear the string buffer
  14. + output_debug_string(this->str().c_str());
  15. + this->str(std::basic_string<CharT>()); // Clear the string buffer
  16.  
  17. return 0;
  18. }
  19. @@ -81,7 +81,7 @@ public:
  20. (new basic_debugbuf<CharT, TraitsT>()) {}
  21. ~basic_dostream()
  22. {
  23. - delete rdbuf();
  24. + delete this->rdbuf();
  25. }
  26. };
  27.  
  28.  
Advertisement
Add Comment
Please, Sign In to add comment