Fix SCOPE_EXIT redefinition.

This commit is contained in:
levlam 2022-02-18 23:25:23 +03:00
parent ae3854d97c
commit 94289c0c9e
3 changed files with 12 additions and 0 deletions

View File

@ -6,6 +6,10 @@
// //
#include "td/utils/FlatHashMap.h" #include "td/utils/FlatHashMap.h"
#ifdef SCOPE_EXIT
#undef SCOPE_EXIT
#endif
#include <absl/container/flat_hash_map.h> #include <absl/container/flat_hash_map.h>
#include <array> #include <array>
#include <folly/container/F14Map.h> #include <folly/container/F14Map.h>

View File

@ -16,6 +16,10 @@
#include "td/utils/Slice.h" #include "td/utils/Slice.h"
#include "td/utils/StringBuilder.h" #include "td/utils/StringBuilder.h"
#ifdef SCOPE_EXIT
#undef SCOPE_EXIT
#endif
#include <absl/container/flat_hash_map.h> #include <absl/container/flat_hash_map.h>
#include <array> #include <array>
#include <folly/container/F14Map.h> #include <folly/container/F14Map.h>

View File

@ -17,6 +17,10 @@
#include "td/utils/Time.h" #include "td/utils/Time.h"
#include "td/utils/VectorQueue.h" #include "td/utils/VectorQueue.h"
#ifdef SCOPE_EXIT
#undef SCOPE_EXIT
#endif
#include <absl/container/flat_hash_map.h> #include <absl/container/flat_hash_map.h>
#include <absl/hash/hash.h> #include <absl/hash/hash.h>
#include <algorithm> #include <algorithm>