The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

a/math: Constify in argument

+2 -2
+1 -1
src/xrt/auxiliary/math/m_relation_history.cpp
··· 63 63 } 64 64 65 65 void 66 - m_relation_history_push(struct m_relation_history *rh, struct xrt_space_relation *in_relation, uint64_t timestamp) 66 + m_relation_history_push(struct m_relation_history *rh, struct xrt_space_relation const *in_relation, uint64_t timestamp) 67 67 { 68 68 XRT_TRACE_MARKER(); 69 69 struct relation_history_entry rhe;
+1 -1
src/xrt/auxiliary/math/m_relation_history.h
··· 52 52 * @public @memberof m_relation_history 53 53 */ 54 54 void 55 - m_relation_history_push(struct m_relation_history *rh, struct xrt_space_relation *in_relation, uint64_t ts); 55 + m_relation_history_push(struct m_relation_history *rh, struct xrt_space_relation const *in_relation, uint64_t ts); 56 56 57 57 /*! 58 58 * @brief Interpolates or extrapolates to the desired timestamp.