Skip to content

Commit 1e3e829

Browse files
committed
fix missings inline
1 parent 27604e2 commit 1e3e829

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

include/frozen/bits/pmh.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ struct pmh_tables : private Hasher {
187187

188188
// Make pmh tables for given items, hash function, prg, etc.
189189
template <std::size_t M, class Item, std::size_t N, class Hash, class Key, class PRG>
190-
pmh_tables<M, Hash> constexpr make_pmh_tables(const carray<Item, N> &
190+
inline pmh_tables<M, Hash> constexpr make_pmh_tables(const carray<Item, N> &
191191
items,
192192
Hash const &hash,
193193
Key const &key,

module/frozen.cppm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ extern "C++" {
3434
#ifdef __clang__
3535
#pragma clang diagnostic push
3636
#pragma clang diagnostic ignored "-Winclude-angled-in-module-purview"
37+
#elif defined(_MSC_VER)
38+
#pragma warning(push)
39+
#pragma warning(disable:5244)
3740
#endif
3841
#include <frozen/algorithm.h>
3942
#include <frozen/map.h>
@@ -44,6 +47,8 @@ extern "C++" {
4447
#include <frozen/unordered_map.h>
4548
#ifdef __clang__
4649
#pragma clang diagnostic pop
50+
#elif defined(_MSC_VER)
51+
#pragma warning(pop)
4752
#endif
4853
}
4954

0 commit comments

Comments
 (0)