Skip to content

Commit

Permalink
Specify std namespace for max.
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoconni committed Feb 25, 2025
1 parent 10786ef commit 57b3de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/FGFCSChannel.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class FGFCSChannel {
FGPropertyNode* node=nullptr)
: fcs(FCS), OnOffNode(node), Name(name)
{
ExecRate = max(1, execRate);
ExecRate = std::max(1, execRate);
// Set ExecFrameCountSinceLastRun so that each components are initialized
ExecFrameCountSinceLastRun = ExecRate;
}
Expand Down

0 comments on commit 57b3de2

Please sign in to comment.