Thanks to visit codestin.com Credit goes to github.com
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.
2 parents d316c74 + d05799e commit de91bf7Copy full SHA for de91bf7
1 file changed
src/_tkagg.cpp
@@ -114,7 +114,7 @@ static int PyAggImagePhoto(ClientData clientdata, Tcl_Interp *interp, int
114
try {
115
destbuffer = new agg::int8u[deststride * destheight];
116
}
117
- catch (std::bad_alloc) {
+ catch (const std::bad_alloc &) {
118
TCL_APPEND_RESULT(interp, "could not allocate memory", (char *)NULL);
119
return TCL_ERROR;
120
0 commit comments