Update examples so that they build

This commit is contained in:
Marshall Clow
2019-11-27 10:58:37 -08:00
parent 77bbc6ce43
commit 9093abbda9
3 changed files with 10 additions and 10 deletions

View File

@ -32,8 +32,8 @@ struct isOddComp
int main ( int /*argc*/, char * /*argv*/ [] )
{
std::vector<int> good({1, 2, 4});
std::vector<int> bad({1, 2, 3});
std::vector<int> good{1, 2, 4};
std::vector<int> bad{1, 2, 3};
//Use custom function
auto it1 = ba::is_partitioned_until(good.begin(), good.end(), isOdd);