ocr_channel.cpp calls engine->messenger() but only had a forward declaration of flutter::FlutterEngine. Include the engine header so the type is complete (fixes C2027 + the cascading make_unique error that broke the Windows compile at ocr_channel.cpp:76).
This commit is contained in:
1 parent
5dbef7c986
commit
8c9cf77337
1 file changed
+1
@@ -1,6 +1,7 @@
|
||||
#include "ocr_channel.h"
|
||||
|
||||
#include <flutter/encodable_value.h>
|
||||
#include <flutter/flutter_engine.h>
|
||||
#include <flutter/method_channel.h>
|
||||
#include <flutter/standard_method_codec.h>
|
||||
|
||||
|
||||
Reference in new issue
Block a user