Skip to content

Commit 24c5953

Browse files
committed
TestIO: fixed performance regression
1 parent 3cdf060 commit 24c5953

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
@@ -34,6 +34,7 @@ class TestIO : public TestFixture {
3434

3535
private:
3636
const Settings settings = settingsBuilder().library("std.cfg").library("windows.cfg").library("qt.cfg").build();
37+
Settings settings1 = settingsBuilder().library("std.cfg").library("windows.cfg").library("qt.cfg").build();
3738

3839
void run() override {
3940
TEST_CASE(coutCerrMisusage);
@@ -84,7 +85,6 @@ class TestIO : public TestFixture {
8485
// Clear the error buffer..
8586
errout.str("");
8687

87-
Settings settings1 = settings;
8888
settings1.severity.clear();
8989
settings1.severity.enable(Severity::warning);
9090
settings1.severity.enable(Severity::style);

0 commit comments

Comments
 (0)