fix(windows): add flutter_engine.h include
All checks were successful
CI / Windows build (push) Successful in 7m54s
All checks were successful
CI / Windows build (push) Successful in 7m54s
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,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