Commit 23589c3
authored
common: fix syntax error in event_channel.h (sony#372)
This change fixes the following build error in event_channel.h.
-----
/home/hidenori/work/flutter/flutter-elinux-plugins/packages/camera/example/elinux/flutter/ephemeral/cpp_client_wrapper/include/flutter/e
vent_channel.h:95:27: error: invalid operands to binary expression ('basic_ostream<char, std::char_traits<char>>' and 'const
std::unique_ptr<EncodableValue>')
<< (error->error_details);
^ ~~~~~~~~~~~~~~~~~~~~~~
/home/hidenori/work/flutter/flutter-elinux-plugins/packages/camera/example/elinux/flutter/ephemeral/.plugin_symlinks/camera_elinux/elinu
x/channels/event_channel_image_stream.cc:44:18: note: in instantiation of member function 'flutter::EventChannel<>::SetStreamHandler'
requested here
event_channel->SetStreamHandler(std::move(event_channel_handler));
^
/usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/system_error:279:5: note: candidate function template not viable: no
known conversion from 'const std::unique_ptr<EncodableValue>' to 'const std::error_code' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
^
/usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/ostream:518:5: note: candidate function template not viable: no
known conversion from 'const std::unique_ptr<EncodableValue>' to 'char' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
-----
Signed-off-by: Hidenori Matsubayashi <[email protected]>1 parent f177e10 commit 23589c3
File tree
1 file changed
+1
-1
lines changed- src/flutter/shell/platform/common/client_wrapper/include/flutter
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments