Skip to content

Commit ceedaeb

Browse files
glebmxzyfer
authored andcommitted
Fix GCC warning: Catching polymorphic type by value (#2848)
1 parent c55821a commit ceedaeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ namespace Sass {
158158
}
159159
}
160160
}
161-
catch (utf8::invalid_utf8)
161+
catch (utf8::invalid_utf8&)
162162
{
163163
// report the error to the console (should not happen)
164164
// implementors should make sure to provide valid utf8

0 commit comments

Comments
 (0)