Page MenuHomePhorge

Make failWithResponse() non-constexpr
ClosedPublic

Authored by tusooa on Jul 5 2024, 9:44 AM.
Tags
None
Referenced Files
F30306: D93.1726897475.diff
Thu, Sep 19, 10:44 PM
Unknown Object (File)
Sat, Sep 14, 7:08 PM
Unknown Object (File)
Thu, Sep 5, 6:26 AM
Unknown Object (File)
Tue, Aug 27, 4:25 PM
Unknown Object (File)
Tue, Aug 27, 2:15 PM
Unknown Object (File)
Tue, Aug 27, 8:29 AM
Unknown Object (File)
Sat, Aug 24, 2:24 PM
Unknown Object (File)
Sat, Aug 24, 6:16 AM
Subscribers
None

Details

Summary

failWithResponse() should not be constexpr because nlohmann::json constructor is not constexpr. This might cause problems on some compilers. This commit fixes this problem.

Type: fix

BUG: https://iron.lily-is.land/T99

Test Plan

Verify that all tests pass.

Diff Detail

Repository
rL libkazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 135
Build 259: GitLab CI for libkazv
Build 258: arc lint + arc unit

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jul 5 2024, 1:45 PM
Harbormaster failed remote builds in B135: Diff 231!
tusooa requested review of this revision.Jul 5 2024, 7:31 PM
This revision is now accepted and ready to land.Jul 6 2024, 8:27 AM
This revision was automatically updated to reflect the committed changes.