Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 685e511

Browse files
committed
Update autofarm.cpp
`dts::make_unique`, not `std::make_unique`, sorry my bad
1 parent ce50bbd commit 685e511

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/autofarm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ DFhackCExport command_result plugin_init (color_ostream &out, std::vector <Plugi
388388
)
389389
);
390390
}
391-
autofarmInstance = std::move(std::make_unique<AutoFarm>());
391+
autofarmInstance = std::move(dts::make_unique<AutoFarm>());
392392
return CR_OK;
393393
}
394394

0 commit comments

Comments
 (0)