We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b2f11d commit 9d2cff8Copy full SHA for 9d2cff8
include/cinder/msw/OutputDebugStringStream.h
@@ -49,8 +49,8 @@ class basic_debugbuf :
49
50
protected:
51
int sync() {
52
- output_debug_string(str().c_str());
53
- 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
54
55
return 0;
56
}
@@ -81,7 +81,7 @@ class basic_dostream :
81
(new basic_debugbuf<CharT, TraitsT>()) {}
82
~basic_dostream()
83
{
84
- delete rdbuf();
+ delete std::basic_ostream<CharT, TraitsT>::rdbuf();
85
86
};
87
0 commit comments