Skip to content

Commit

Permalink
Fix GCC warning: Catching polymorphic type by value (#2848)
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm authored and xzyfer committed Mar 21, 2019
1 parent c55821a commit ceedaeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ namespace Sass {
}
}
}
catch (utf8::invalid_utf8)
catch (utf8::invalid_utf8&)
{
// report the error to the console (should not happen)
// implementors should make sure to provide valid utf8
Expand Down

0 comments on commit ceedaeb

Please sign in to comment.