Skip to content

Properly make CNTV2DeviceScanner::GetDeviceInfoList a class method#57

Open
lukegb wants to merge 1 commit intoaja-video:mainfrom
lukegb:this-is-actually-a-class-method-and-i-dont-understand-how-this-compiles-for-anyone
Open

Properly make CNTV2DeviceScanner::GetDeviceInfoList a class method#57
lukegb wants to merge 1 commit intoaja-video:mainfrom
lukegb:this-is-actually-a-class-method-and-i-dont-understand-how-this-compiles-for-anyone

Conversation

@lukegb
Copy link
Copy Markdown
Contributor

@lukegb lukegb commented Jun 22, 2025

In the header file, this is a static member of the class, but in the implementation cpp it's just a free function.

I don't really understand how this compiles for anyone as is, but given this function is deprecated anyway I'm not too uptight about fixing it - this is an upstreamed version of the patch I'm using in nixpkgs for libajantv2 since it doesn't build there without, possibly since we have stricter-than-standard build flags and most likely a newer compiler toolchain.

@lukegb lukegb force-pushed the this-is-actually-a-class-method-and-i-dont-understand-how-this-compiles-for-anyone branch from 277b687 to 95160bf Compare June 22, 2025 22:27
@lukegb lukegb changed the base branch from release to main June 22, 2025 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant