TODO(jsch): Change is_deprecated_image_prior default to false after next version release (3.14 or 4.0) and remove the parameter in (3.15 or 4.1).
| 469 | // TODO(jsch): Change is_deprecated_image_prior default to false after next |
| 470 | // version release (3.14 or 4.0) and remove the parameter in (3.15 or 4.1). |
| 471 | void MaybeThrowDeprecatedPosePriorError(bool is_deprecated_image_prior) { |
| 472 | if (is_deprecated_image_prior) { |
| 473 | throw std::runtime_error( |
| 474 | "PosePrior API has changed: pose priors are now associated with " |
| 475 | "frames, not images. Please update your code to use frames " |
| 476 | "instead of image IDs. Data is automatically migrated upon opening a " |
| 477 | "database. Update your API usage accordingly and add pose priors to " |
| 478 | "frame data."); |
| 479 | } |
| 480 | } |
| 481 | |
| 482 | class SqliteDatabase : public Database { |
| 483 | public: |
no outgoing calls
no test coverage detected