Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b6e8980

Browse files
author
Kaushik Iska
committed
include optional
1 parent e868475 commit b6e8980

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

shell/platform/darwin/ios/framework/Source/FlutterEngine.mm

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,8 @@ - (BOOL)createShell:(NSString*)entrypoint libraryURI:(NSString*)libraryURI {
452452
// initialized.
453453
fml::MessageLoop::EnsureInitializedForCurrentThread();
454454

455-
flutter::ThreadHost::Type threadHostType = flutter::ThreadHost::Type::UI |
456-
flutter::ThreadHost::Type::GPU |
457-
flutter::ThreadHost::Type::IO;
455+
uint32_t threadHostType = flutter::ThreadHost::Type::UI | flutter::ThreadHost::Type::GPU |
456+
flutter::ThreadHost::Type::IO;
458457
bool profilerEnabled = false;
459458
#if (FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG) || \
460459
(FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_PROFILE)

shell/profiling/sampling_profiler.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <functional>
99
#include <memory>
10+
#include <optional>
1011

1112
#include "flutter/fml/task_runner.h"
1213
#include "flutter/fml/trace_event.h"

0 commit comments

Comments
 (0)