mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-01 20:17:42 +03:00
use STL make_unique, remove wrapper header, breaks C++17 compilation
This commit is contained in:
@@ -45,7 +45,6 @@
|
||||
#include "grey.h"
|
||||
#include "hs.h"
|
||||
#include "ue2common.h"
|
||||
#include "util/make_unique.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <clocale>
|
||||
@@ -979,7 +978,7 @@ unique_ptr<ThreadContext> makeThreadContext(const Engine &db,
|
||||
}
|
||||
assert(fn);
|
||||
|
||||
return ue2::make_unique<ThreadContext>(id, db, sync_barrier, fn, blocks);
|
||||
return std::make_unique<ThreadContext>(id, db, sync_barrier, fn, blocks);
|
||||
}
|
||||
|
||||
/** Run the given benchmark. */
|
||||
|
Reference in New Issue
Block a user