Skip to content

Commit

Permalink
src: do IWYU for some STL includes
Browse files Browse the repository at this point in the history
PR-URL: #41236
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
dsanders11 authored and danielleadams committed Feb 1, 2022
1 parent 3bd8e92 commit cb30038
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 4 additions & 1 deletion src/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@
#include <atomic>
#include <cstdint>
#include <functional>
#include <iostream>
#include <list>
#include <memory>
#include <ostream>
#include <set>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
Expand Down
7 changes: 4 additions & 3 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@
#include <cstdlib>
#include <cstring>

#include <functional> // std::function
#include <array>
#include <limits>
#include <set>
#include <memory>
#include <string>
#include <array>
#include <type_traits>
#include <unordered_map>
#include <utility>
#include <vector>

#ifdef __GNUC__
#define MUST_USE_RESULT __attribute__((warn_unused_result))
Expand Down

0 comments on commit cb30038

Please sign in to comment.