From 39911dfe2bf08bcc12bf4f96ae04a4a456ecf116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sat, 16 Aug 2014 06:55:32 +0200 Subject: [PATCH] build test_Layout test --- src/tests/check_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/check_layout.cpp b/src/tests/check_layout.cpp index b4ecad9a0c..d4180d57b0 100644 --- a/src/tests/check_layout.cpp +++ b/src/tests/check_layout.cpp @@ -47,7 +47,7 @@ using namespace std; bool test_Layout(string const & input, string const & output) { FileName const ifn(makeAbsPath(input)); - LayoutFileList l; + LayoutFileList& l = LayoutFileList::get(); LayoutFileIndex i = l.addLocalLayout(ifn.onlyFileName(), ifn.onlyPath().absFileName()); if (i.empty()) { cerr << "Could not read layout file " << input << ".layout.\n";