| 103 | } |
| 104 | |
| 105 | bool Map::loadFromString(const std::string& data, const std::string& workingDir) |
| 106 | { |
| 107 | bool success = false; |
| 108 | SharedContent.getThread()->runInMainSync([&]() { |
| 109 | success = loadFromStringUnsafe(data, workingDir); |
| 110 | }); |
| 111 | return success; |
| 112 | } |
| 113 | |
| 114 | bool Map::loadFromStringUnsafe(const std::string& data, const std::string& workingDir) |
| 115 | { |
nothing calls this directly
no test coverage detected