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 Nov 24, 2024
1 parent 826bbaa commit 07794ad
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 07794ad

Please sign in to comment.