Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitde91bf7

Browse files
authored
Merge pull request#13366 from meeseeksmachine/auto-backport-of-pr-13365-on-v3.0.x
Backport PR#13365 on branch v3.0.x (Fix gcc warning)
2 parentsd316c74 +d05799e commitde91bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/_tkagg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ static int PyAggImagePhoto(ClientData clientdata, Tcl_Interp *interp, int
114114
try {
115115
destbuffer =new agg::int8u[deststride * destheight];
116116
}
117-
catch (std::bad_alloc) {
117+
catch (conststd::bad_alloc &) {
118118
TCL_APPEND_RESULT(interp,"could not allocate memory", (char *)NULL);
119119
return TCL_ERROR;
120120
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp