astyle formatting
This commit is contained in:
parent
39f9bc7422
commit
2f7f43e1f2
|
@ -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());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue