Commit 0a8a59b9 by Bernhard Gatzhammer

Replaced C++11 initializer with before statements of older compatibility.

Ticket EMBB-377
parent 5a224ff0
......@@ -34,7 +34,11 @@
*/
void RunSorting() {
#include "algorithms/sorting/range_define-snippet.h"
range = {4, 2, 3, 5, 1};
range.push_back(4);
range.push_back(2);
range.push_back(3);
range.push_back(5);
range.push_back(1);
#include "algorithms/sorting/quick_sort-snippet.h"
for (size_t i = 0; i < range.size(); i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment