mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
AK: Stop exporting AK::FixedPoint into the global namespace
This declaration has conflicts with the macOS SDK, which becomes a problem when trying to interact with system clang modules.
This commit is contained in:
committed by
Sam Atkins
parent
1529f5469c
commit
88044f59c6
@@ -480,7 +480,3 @@ struct Formatter<FixedPoint<precision, Underlying>> : StandardFormatter {
|
|||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if USING_AK_GLOBALLY
|
|
||||||
using AK::FixedPoint;
|
|
||||||
#endif
|
|
||||||
|
|||||||
@@ -160,7 +160,6 @@ using AK::DoublyLinkedList;
|
|||||||
using AK::Error;
|
using AK::Error;
|
||||||
using AK::ErrorOr;
|
using AK::ErrorOr;
|
||||||
using AK::FixedArray;
|
using AK::FixedArray;
|
||||||
using AK::FixedPoint;
|
|
||||||
using AK::FlyString;
|
using AK::FlyString;
|
||||||
using AK::Function;
|
using AK::Function;
|
||||||
using AK::GenericLexer;
|
using AK::GenericLexer;
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
#include <AK/FixedPoint.h>
|
#include <AK/FixedPoint.h>
|
||||||
#include <AK/NumericLimits.h>
|
#include <AK/NumericLimits.h>
|
||||||
|
|
||||||
|
using AK::FixedPoint;
|
||||||
|
|
||||||
using Type = FixedPoint<4>;
|
using Type = FixedPoint<4>;
|
||||||
|
|
||||||
TEST_CASE(arithmetic)
|
TEST_CASE(arithmetic)
|
||||||
|
|||||||
Reference in New Issue
Block a user