Skip to content

Commit

Permalink
More MSVC warning quenching.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescarni committed Jan 15, 2021
1 parent cd55242 commit 2cc05b1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/kpack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
#include <obake/kpack.hpp>
#include <obake/type_traits.hpp>

#if defined(_MSC_VER) && !defined(__clang__)

#pragma warning(push)
#pragma warning(disable : 4244)

#endif

namespace obake
{

Expand Down Expand Up @@ -1279,3 +1286,9 @@ const ::std::tuple<std::uint64_t, unsigned, unsigned> kpack_data<::std::uint64_t
} // namespace detail

} // namespace obake

#if defined(_MSC_VER) && !defined(__clang__)

#pragma warning(pop)

#endif

0 comments on commit 2cc05b1

Please sign in to comment.