mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 20:19:20 +02:00
build with clang
Linux CI switches to clang 22; fixes what that exposed - export on out-of-line member definitions, missing std includes, missing glm imports. GCC 16 still builds.
This commit is contained in:
@@ -659,6 +659,9 @@ public:
|
||||
std::string OwnerName() const;
|
||||
};
|
||||
|
||||
} // export -- out-of-line member definitions are not namespace-scope
|
||||
// declarations, so they cannot carry `export`; the class itself is exported.
|
||||
|
||||
inline TOrders TController::OrderCurrentGet() const {
|
||||
return OrderList[ OrderPos ];
|
||||
}
|
||||
@@ -667,4 +670,5 @@ inline TOrders TController::OrderNextGet() const {
|
||||
return OrderList[ OrderPos + 1 ];
|
||||
}
|
||||
|
||||
export {
|
||||
} // export
|
||||
|
||||
Reference in New Issue
Block a user