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 targos committed Jan 14, 2022
1 parent 8a94ca7 commit 93b3664
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
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
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 93b3664

Please sign in to comment.