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

Appearance settings

Commit d05799e

Browse filesBrowse files
NelleVMeeseeksDev[bot]
authored andcommitted
Backport PR #13365: Fix gcc warning
1 parent d316c74 commit d05799e
Copy full SHA for d05799e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/_tkagg.cpp

Copy file name to clipboardExpand all lines: src/_tkagg.cpp
+1-1Lines 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 (const std::bad_alloc &) {
118118
TCL_APPEND_RESULT(interp, "could not allocate memory", (char *)NULL);
119119
return TCL_ERROR;
120120
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.