Page MenuHomePhorge

Make failWithResponse() non-constexpr
ClosedPublic

Authored by tusooa on Jul 5 2024, 9:44 AM.

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.