mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
VideoProperty: rename type() to getType().
This commit is contained in:
@@ -15,7 +15,7 @@ int main() {
|
||||
llvm::outs() << "Properties:\n";
|
||||
for (const auto& prop : camera.EnumerateProperties()) {
|
||||
llvm::outs() << " " << prop.GetName() << ": ";
|
||||
switch (prop.type()) {
|
||||
switch (prop.GetType()) {
|
||||
case cs::VideoProperty::kBoolean:
|
||||
llvm::outs() << "value=" << prop.Get()
|
||||
<< " default=" << prop.GetDefault();
|
||||
|
||||
Reference in New Issue
Block a user