We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39f9bc7 commit 2f7f43eCopy full SHA for 2f7f43e
1 file changed
test/testio.cpp
@@ -4822,11 +4822,11 @@ class TestIO : public TestFixture {
4822
}
4823
4824
void testStdDistance() { // #10304
4825
- check("void foo(const std::vector<int>& IO, const int* pio) {\n"
4826
- "const auto Idx = std::distance(&IO.front(), pio);\n"
4827
- "printf(\"Idx = %td\", Idx);\n"
4828
- "}", /*inconclusive*/ false, /*portability*/ true);
4829
- ASSERT_EQUALS("", errout.str());
+ check("void foo(const std::vector<int>& IO, const int* pio) {\n"
+ "const auto Idx = std::distance(&IO.front(), pio);\n"
+ "printf(\"Idx = %td\", Idx);\n"
+ "}", /*inconclusive*/ false, /*portability*/ true);
+ ASSERT_EQUALS("", errout.str());
4830
4831
};
4832
0 commit comments