summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-terrain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-terrain.cpp b/test/test-terrain.cpp
index 53eebfb..512a90e 100644
--- a/test/test-terrain.cpp
+++ b/test/test-terrain.cpp
@@ -8,7 +8,7 @@
class TestTerrainMesh : public TerrainMesh {
public:
- TestTerrainMesh() : TerrainMesh {FIXTURESDIR "height/SD19.asc"} { }
+ TestTerrainMesh() : TerrainMesh {TerrainMesh::loadFromAsciiGrid(FIXTURESDIR "height/SD19.asc")} { }
};
constexpr size_t ncols = 200, nrows = 200, xllcorner = 310000, yllcorner = 490000, cellsize = 50;