Skip to content

Commit 3003348

Browse files
committed
Make discardable for convenience
1 parent 467fe5c commit 3003348

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/GateEngine/ECS/Base/Entity.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ extension Entity {
161161
}
162162

163163
/// Allows changing a component, addind it first if needed.
164+
@discardableResult
164165
@inlinable
165166
public func configure<T: Component, ResultType>(
166167
_ type: T.Type,
@@ -173,6 +174,7 @@ extension Entity {
173174
}
174175

175176
/// Allows changing a component, addind it first if needed.
177+
@discardableResult
176178
@inlinable
177179
public func configure<T: Component, ResultType>(
178180
_ type: T.Type,

0 commit comments

Comments
 (0)