Skip to content

Fix missing <algorithm> include in febcode/types.cpp - #136

Merged
SteveMaas1978 merged 1 commit into
febiosoftware:developfrom
karinaurazova:fix/missing-algorithm-include
Nov 13, 2026
Merged

SteveMaas1978 merged 1 commit into
febiosoftware:developfrom
karinaurazova:fix/missing-algorithm-include

Conversation

@karinaurazova

Copy link
Copy Markdown
Contributor

Summary

Add an explicit #include <algorithm> to febcode/types.cpp.

Problem

The file uses std::find_if without including its required standard header. This causes compilation failures on toolchains where <algorithm> is not included transitively.

Fix

Add the missing include. No functional changes.

Verification

  • Reproduced the compilation failure with GCC 14.2 and Clang 17 using C++17.
  • Confirmed successful compilation after the fix.
  • Verified that the patch changes only one file and adds one line.

This improves portability across C++ toolchains.

@SteveMaas1978
SteveMaas1978 merged commit b42db8f into febiosoftware:develop Nov 13, 2026
6 of 9 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.

2 participants