a/math: Constify in argument

This commit is contained in:
Jakob Bornecrantz 2021-12-03 13:28:46 +00:00
parent 2b64e5b965
commit ed48e6d47d
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ m_relation_history_create(struct m_relation_history **rh_ptr)
}
void
m_relation_history_push(struct m_relation_history *rh, struct xrt_space_relation *in_relation, uint64_t timestamp)
m_relation_history_push(struct m_relation_history *rh, struct xrt_space_relation const *in_relation, uint64_t timestamp)
{
XRT_TRACE_MARKER();
struct relation_history_entry rhe;

View file

@ -52,7 +52,7 @@ m_relation_history_create(struct m_relation_history **rh);
* @public @memberof m_relation_history
*/
void
m_relation_history_push(struct m_relation_history *rh, struct xrt_space_relation *in_relation, uint64_t ts);
m_relation_history_push(struct m_relation_history *rh, struct xrt_space_relation const *in_relation, uint64_t ts);
/*!
* @brief Interpolates or extrapolates to the desired timestamp.