Commit 7b1a8c9
committed
Fix build on ToT Clang
ToT Clang complains about the following error:
frameworks/native/vulkan/vkjson/vkjson.cc:1211:20: error: call to 'ToJsonValue' is ambiguous
1211 | object_[key] = ToJsonValue(*value);
| ^~~~~~~~~~~
frameworks/native/vulkan/vkjson/vkjson.cc:1173:20: note: candidate function [with T = char, N = 63]
1173 | inline Json::Value ToJsonValue(const T (&value)[N]) {
| ^
frameworks/native/vulkan/vkjson/vkjson.cc:1178:20: note: candidate function [with N = 63]
1178 | inline Json::Value ToJsonValue(const char (&value)[N]) {
| ^
Test: presubmit
Bug: 363682086
Change-Id: Ifa4e8e5df715b1adc99343782a44c8fc302554ae1 parent 0c01454 commit 7b1a8c9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1169 | 1169 | | |
1170 | 1170 | | |
1171 | 1171 | | |
1172 | | - | |
| 1172 | + | |
1173 | 1173 | | |
1174 | 1174 | | |
1175 | 1175 | | |
| |||
1293 | 1293 | | |
1294 | 1294 | | |
1295 | 1295 | | |
1296 | | - | |
| 1296 | + | |
1297 | 1297 | | |
1298 | 1298 | | |
1299 | 1299 | | |
| |||
0 commit comments