| 144 | // ---------------------------------------------------------------------------------------- |
| 145 | |
| 146 | void metadata_editor:: |
| 147 | save_metadata_to_file ( |
| 148 | const std::string& file |
| 149 | ) |
| 150 | { |
| 151 | try |
| 152 | { |
| 153 | save_image_dataset_metadata(metadata, file); |
| 154 | } |
| 155 | catch (dlib::error& e) |
| 156 | { |
| 157 | message_box("Error saving file", e.what()); |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | // ---------------------------------------------------------------------------------------- |
| 162 |
nothing calls this directly
no test coverage detected