Skip to content

Comments

Remove doProcess flag from InsertImage() (bumps DIV)#859

Open
marktsuchida wants to merge 2 commits intomicro-manager:mainfrom
marktsuchida:remove-insert-image-do-process
Open

Remove doProcess flag from InsertImage() (bumps DIV)#859
marktsuchida wants to merge 2 commits intomicro-manager:mainfrom
marktsuchida:remove-insert-image-do-process

Conversation

@marktsuchida
Copy link
Member

Closes #722.

This change is safe, in the sense that it won't cause any silent change
in overload resolution.

In the unlikely event that a camera adapter (that we don't control)
calls InsertImage(c, b, w, h, bpp, 0), which previously resolved to the
single-component overload (0 being null serializedMetadata), it would
now get a compiler error ("call is ambiguous"). Such calls would need to
remove the 0 or replace it with `nullptr`.
@marktsuchida
Copy link
Member Author

This will be merged as part of #861.

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.

Remove the doProcess = true parameter from MM::Core::InsertImage()

1 participant