mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
Fixes missing VideoProperty constructor. (#49)
This commit is contained in:
committed by
Peter Johnson
parent
db5dfa1746
commit
cf8cab850b
@@ -75,6 +75,9 @@ inline VideoProperty::VideoProperty(CS_Property handle) : m_handle(handle) {
|
||||
static_cast<Kind>(static_cast<int>(GetPropertyKind(handle, &m_status)));
|
||||
}
|
||||
|
||||
inline VideoProperty::VideoProperty(CS_Property handle, Kind kind)
|
||||
: m_handle(handle), m_kind(kind) {}
|
||||
|
||||
inline VideoSource::VideoSource(const VideoSource& source)
|
||||
: m_handle(source.m_handle == 0 ? 0
|
||||
: CopySource(source.m_handle, &m_status)) {}
|
||||
|
||||
Reference in New Issue
Block a user