summaryrefslogtreecommitdiff
path: root/src/unittest/test_noise.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittest/test_noise.cpp')
-rw-r--r--src/unittest/test_noise.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittest/test_noise.cpp b/src/unittest/test_noise.cpp
index d1821c950..988ea4495 100644
--- a/src/unittest/test_noise.cpp
+++ b/src/unittest/test_noise.cpp
@@ -113,7 +113,7 @@ void TestNoise::testNoiseInvalidParams()
NoiseParams np_highmem(4, 70, v3f(1, 1, 1), 5, 60, 0.7, 10.0);
Noise noise_highmem_3d(&np_highmem, 1337, 200, 200, 200);
noise_highmem_3d.perlinMap3D(0, 0, 0, NULL);
- } catch (InvalidNoiseParamsException) {
+ } catch (InvalidNoiseParamsException &) {
exception_thrown = true;
}