mirror of
https://github.com/azahar-emu/sirit.git
synced 2026-03-22 20:01:02 +01:00
Use some C++17 features
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
namespace Sirit {
|
||||
|
||||
Ref Module::Name(Ref target, const std::string& name) {
|
||||
Op* op{new Op(spv::Op::OpName)};
|
||||
auto const op{new Op(spv::Op::OpName)};
|
||||
op->Add(target);
|
||||
op->Add(name);
|
||||
debug.push_back(std::unique_ptr<Op>(op));
|
||||
|
||||
Reference in New Issue
Block a user