mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 16:53:33 +00:00
Fix includes in source/lib
Make include-what-you-use happy with some files in source/lib and fix what needs to be fixed. Ref: #8086 Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2021 Wildfire Games.
|
||||
/* Copyright (C) 2025 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@@ -208,7 +208,7 @@ public:
|
||||
JS::RootedValue testNANVal(rq.cx);
|
||||
Script::ToJSVal(rq, &testNANVal, NAN);
|
||||
TS_ASSERT(Script::FromJSVal(rq, testNANVal, f));
|
||||
TS_ASSERT(isnan(f));
|
||||
TS_ASSERT(std::isnan(f));
|
||||
}
|
||||
|
||||
// NOTE: fixed and vector conversions are defined in simulation2/scripting/EngineScriptConversions.cpp
|
||||
|
||||
Reference in New Issue
Block a user