aboutsummaryrefslogtreecommitdiff
path: root/system/tools/scripts/yapf_checker.py
diff options
context:
space:
mode:
authorJakub Tyszkowski <jakub.tyszkowski@codecoup.pl>2021-11-19 12:48:05 +0100
committerJakub Tyszkowski <jakub.tyszkowski@codecoup.pl>2021-11-19 15:10:48 +0100
commit6f15687da71e37006991b462ca6482a594761eb0 (patch)
tree238935f739af5be4bfe8d198ea44d6e23bf8d084 /system/tools/scripts/yapf_checker.py
parent4cd9f204ecbf922d40843bc5f00318c55ab60188 (diff)
uuid: Fix visibility issue for stream operator
This fixes compiler not finding the proper stream operator in some cases. It seems to be dependent on the order in which stream operators for different classes are being defined in the compilation unit. Even defining such operator for one class at the top of the file could break compilation down bellow in the Uuid printing code that already worked for a long time, just as if the needed symbol got somehow erased. An example of such error for the Uuuid instance printed in groups.cc: groups.cc:372:21: error: invalid operands to binary expression ('basic_ostream<char, std::char_traits<char>>' and 'const bluetooth::Uuid') << ", Uuid: " << group.group_uuid_ ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ Moving the operator<<(...) to its 1st argument class namespace fixes that. Bug: 150670922 Tag: #feature Test: atest --host net_test_types Sponsor: jpawlowski@ Change-Id: I73bb3476f480bbffeb140dcd33eb6b521506446b
Diffstat (limited to 'system/tools/scripts/yapf_checker.py')
0 files changed, 0 insertions, 0 deletions