Skip to content

Commit 65f5c16

Browse files
committed
Fix compile error when no compute system is available.
1 parent 62fa918 commit 65f5c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jolt/Compute/ComputeSystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ inline ComputeSystemResult CreateComputeSystem() { return CreateComputeSyst
6464
#else
6565

6666
/// Fallback implementation when no compute system is available
67-
inline ComputeSystemResult CreateComputeSystem() { return nullptr; }
67+
inline ComputeSystemResult CreateComputeSystem() { ComputeSystemResult result; result.SetError("Not implemented"); return result; }
6868

6969
#endif
7070

0 commit comments

Comments
 (0)