Skip to content

Commit c8b6cc7

Browse files
committed
Fix shadowing of 'what' as described in #10080.
1 parent 1118493 commit c8b6cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tinyformat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ namespace tinyformat {
167167
class format_error: public std::runtime_error
168168
{
169169
public:
170-
format_error(const std::string &what): std::runtime_error(what) {
170+
format_error(const std::string &fmterr): std::runtime_error(fmterr) {
171171
}
172172
};
173173

0 commit comments

Comments
 (0)