From ceedaeb662aa340f263c9c937a1dac323fa2864e Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Thu, 21 Mar 2019 21:00:00 +0000 Subject: [PATCH] Fix GCC warning: Catching polymorphic type by value (#2848) --- src/plugins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins.cpp b/src/plugins.cpp index 1b9941277..b6f004242 100644 --- a/src/plugins.cpp +++ b/src/plugins.cpp @@ -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