Skip to content

fix(algo): add template disambiguator for macOS Clang build - #132

Merged
adsharma merged 1 commit into
mainfrom
fix/algo-mac-template-keyword
Oct 16, 2026
Merged

adsharma merged 1 commit into
mainfrom
fix/algo-mac-template-keyword

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

auto-deduced dataVector in GenericEmbeddingVertexCompute is a dependent type under Clang, which rejects dataVector->setValue<float/double> without the template keyword. GCC accepts it, so Linux builds passed while macOS failed with:

error: use 'template' keyword to treat 'setValue' as a dependent template name

Adds the template keyword; valid on both compilers.

auto-deduced dataVector in GenericEmbeddingVertexCompute is a
dependent type under Clang, which rejects
dataVector->setValue<float/double> without the template keyword.
GCC accepts it, so Linux builds passed while macOS failed with:

  error: use 'template' keyword to treat 'setValue' as a dependent
  template name

Add the template keyword; valid on both compilers.
@adsharma
adsharma merged commit 2f9839a into main Oct 16, 2026
2 checks passed
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