Skip to content

Commit

Permalink
[windows] Eliminate unnecessary iostream imports (#38824)
Browse files Browse the repository at this point in the history
In cd1a1cb I replaced use of direct writes to cerr and replaced them
with FML_LOG calls but may have missed removing some iostream #includes,
or they may have been missed in previous cleanups. This removes any
remaining #includes of iostream that are unused.
  • Loading branch information
cbracken authored Jan 13, 2023
1 parent 091c785 commit f3f0536
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion shell/platform/windows/flutter_window.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_H_

#include <iostream>
#include <string>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion shell/platform/windows/flutter_windows.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <chrono>
#include <cstdlib>
#include <filesystem>
#include <iostream>
#include <memory>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion shell/platform/windows/flutter_windows_engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <dwmapi.h>

#include <filesystem>
#include <iostream>
#include <sstream>

#include "flutter/fml/logging.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <iostream>

#include "flutter/fml/synchronization/waitable_event.h"
#include "flutter/shell/platform/embedder/test_utils/proc_table_replacement.h"
#include "flutter/shell/platform/windows/flutter_windows_engine.h"
Expand Down
1 change: 0 additions & 1 deletion shell/platform/windows/flutter_windows_view_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <oleacc.h>

#include <future>
#include <iostream>
#include <vector>

#include "flutter/shell/platform/common/json_message_codec.h"
Expand Down
1 change: 0 additions & 1 deletion shell/platform/windows/keyboard_key_embedder_handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <windows.h>

#include <chrono>
#include <iostream>
#include <string>

#include "flutter/fml/logging.h"
Expand Down

0 comments on commit f3f0536

Please sign in to comment.