| 178 | } |
| 179 | |
| 180 | void BookmarkListItem::write_constructor_data(const NetObjTemporaryPtr<BookmarkListItem>& o, cereal::PortableBinaryOutputArchive& a) { |
| 181 | a(o->is_folder()); |
| 182 | if(o->is_folder()) |
| 183 | o->folderData->folderList.write_create_message(a); |
| 184 | else |
| 185 | a(*o->bookmarkData); |
| 186 | o->nameData.write_create_message(a); |
| 187 | } |
| 188 | |
| 189 | void BookmarkListItem::save_file(cereal::PortableBinaryOutputArchive& a) const { |
| 190 | a(*nameData); |
nothing calls this directly
no test coverage detected