Migrate to C++17

Reviewers: teon.banek, buda

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1974
This commit is contained in:
Matej Ferencevic
2019-04-23 11:00:49 +02:00
parent 75ffcc4ee9
commit 9291a5fc4d
222 changed files with 1388 additions and 1571 deletions

View File

@@ -37,7 +37,7 @@ int main(int argc, char **argv) {
std::this_thread::sleep_for(std::chrono::milliseconds(20));
std::vector<bool> found;
found.resize(FLAGS_max_value);
std::experimental::optional<uint64_t> item;
std::optional<uint64_t> item;
while (run || (item = stack.Pop())) {
if (item) {
CHECK(*item < FLAGS_max_value);