diff options
author | Logan Chien <tzuhsiang.chien@gmail.com> | 2016-08-26 02:06:27 +0800 |
---|---|---|
committer | Logan Chien <tzuhsiang.chien@gmail.com> | 2016-08-26 02:06:27 +0800 |
commit | eb15a35ecbe2acd3437cff474686df8fde9bf42a (patch) | |
tree | 49fed51a2d20c30ce4377edbab83c9251d399388 /src/binaryen-js.cpp | |
parent | e168e2b9b6dd099c97c7ec313c3062d80fa1a9a8 (diff) | |
download | binaryen-eb15a35ecbe2acd3437cff474686df8fde9bf42a.tar.gz binaryen-eb15a35ecbe2acd3437cff474686df8fde9bf42a.tar.bz2 binaryen-eb15a35ecbe2acd3437cff474686df8fde9bf42a.zip |
Replace std::unique<T>(new T()) with make_unique<T>().
This commit modernize the code base by replacing:
std::unique_ptr<T>(new T(...))
with:
make_unique<T>(...)
or:
wasm::make_unique<T>(...)
This is a step closer to adopt C++14 std::make_unique<T>(...).
Diffstat (limited to 'src/binaryen-js.cpp')
0 files changed, 0 insertions, 0 deletions