Skip to content

Commit 4f5361c

Browse files
committed
TestIO: fixed performance regression
1 parent 034da09 commit 4f5361c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/testio.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class TestIO : public TestFixture {
3636

3737
private:
3838
const Settings settings = settingsBuilder().library("std.cfg").library("windows.cfg").library("qt.cfg").build();
39+
Settings settings1 = settingsBuilder().library("std.cfg").library("windows.cfg").library("qt.cfg").build();
3940

4041
void run() override {
4142
TEST_CASE(coutCerrMisusage);
@@ -86,7 +87,6 @@ class TestIO : public TestFixture {
8687
// Clear the error buffer..
8788
errout.str("");
8889

89-
Settings settings1 = settings;
9090
settings1.severity.clear();
9191
settings1.severity.enable(Severity::warning);
9292
settings1.severity.enable(Severity::style);

0 commit comments

Comments
 (0)