Page MenuHomePhorge

Fix potential ambiguous conversion from json to optional<json>
Needs ReviewPublic

Authored by tusooa on Tue, Sep 16, 5:37 AM.
Tags
None
Referenced Files
F7743704: D231.1758155402.diff
Tue, Sep 16, 5:30 PM
F7742063: D231.1758134508.diff
Tue, Sep 16, 11:41 AM
F7742060: D231.1758134500.diff
Tue, Sep 16, 11:41 AM
Subscribers
None

Details

Reviewers
None
Group Reviewers
O1: the Kazv Project
Summary

Reported by @yifei:luv.asn.au on matrix. In some environments the compiler is not happy with return json(...); when the return type of the function is declared as std::optional<json>. This specifically invokes the std::optional constructor.

Type: fix

Test Plan

N/A

Diff Detail

Repository
rL libkazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 427
Build 837: GitLab CI for libkazv
Build 836: arc lint + arc unit