astyle formatting

This commit is contained in:
Daniel Marjamäki 2021-06-24 23:19:59 +02:00
parent 39f9bc7422
commit 2f7f43e1f2
1 changed files with 5 additions and 5 deletions

View File

@ -4822,11 +4822,11 @@ private:
}
void testStdDistance() { // #10304
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());
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());
}
};