mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
completely remove EnginePaths::resolve
This commit is contained in:
parent
b955ae59c1
commit
a653b063e6
12 changed files with 67 additions and 106 deletions
|
|
@ -23,6 +23,10 @@ void io::set_device(const std::string& name, std::shared_ptr<io::Device> device)
|
|||
devices[name] = device;
|
||||
}
|
||||
|
||||
void io::remove_device(const std::string& name) {
|
||||
devices.erase(name);
|
||||
}
|
||||
|
||||
std::shared_ptr<io::Device> io::get_device(const std::string& name) {
|
||||
const auto& found = devices.find(name);
|
||||
if (found == devices.end()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue