summaryrefslogtreecommitdiff
path: root/test/style/style.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/style/style.test.cpp')
-rw-r--r--test/style/style.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/style/style.test.cpp b/test/style/style.test.cpp
index 9bdab37ac6..f2055c88f8 100644
--- a/test/style/style.test.cpp
+++ b/test/style/style.test.cpp
@@ -65,7 +65,7 @@ TEST(Style, DuplicateSource) {
try {
style.addSource(std::make_unique<VectorSource>("sourceId", "mapbox://mapbox.mapbox-terrain-v2"));
FAIL() << "Should not have been allowed to add a duplicate source id";
- } catch (std::runtime_error) {
+ } catch (const std::runtime_error&) {
// Expected
}
}