Skip to content

Commit acec7ff

Browse files
Fix boost deprecated header
1 parent b3d12ac commit acec7ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmake/SetCXXStandard.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
find_package(Boost 1.56.0 REQUIRED)
2+
find_package(Boost 1.59.0 REQUIRED)
33
if(Boost_VERSION VERSION_LESS "1.72.0")
44
set(CMAKE_CXX_STANDARD 11 CACHE INTERNAL "specifies the C++ standard whose features are requested to build this target")
55
else()

src/mfast/coder/encoder/encoder_presence_map.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
// See the file license.txt for licensing information.
66
#pragma once
77

8-
#include <boost/detail/endian.hpp>
8+
#include <boost/predef/other/endian.h>
99
#include "fast_ostream.h"
1010

1111
namespace mfast {
12-
#ifdef BOOST_BIG_ENDIAN
12+
#if BOOST_ENDIAN_BIG_BYTE
1313
const int SMALLEST_ADDRESS_BYTE = sizeof(std::size_t) - 1;
1414
#else
1515
const int SMALLEST_ADDRESS_BYTE = 0;

0 commit comments

Comments
 (0)