Skip to content

Commit

Permalink
[aot] Fixed compilation on Linux distros (#6043)
Browse files Browse the repository at this point in the history
Follow up of #5994. Clang follows a strict separation between C++
headers so fundamental utilities like `std::exchange` is not implicitly
included in other `std` headers.
  • Loading branch information
PENGUINLIONG authored Sep 13, 2022
1 parent e22a2a3 commit 4f851d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions c_api/include/taichi/cpp/taichi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <list>
#include <vector>
#include <string>
#include <utility>
#include "taichi/taichi.h"

namespace ti {
Expand Down

0 comments on commit 4f851d8

Please sign in to comment.