avoid using make_unique for c++11 compatibility
This commit is contained in:
parent
b6df89b470
commit
61d244145d
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ public:
|
|||
{ return reducedPrecisionReturn ? DecorationRelaxedPrecision : NoPrecision; }
|
||||
|
||||
void setDebugLineInfo(Id fileName, int line, int column) {
|
||||
lineInstruction = std::make_unique<Instruction>(OpLine);
|
||||
lineInstruction = std::unique_ptr<Instruction>{new Instruction(OpLine)};
|
||||
lineInstruction->addIdOperand(fileName);
|
||||
lineInstruction->addImmediateOperand(line);
|
||||
lineInstruction->addImmediateOperand(column);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue