]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/endian/test/spirit_conflict_test.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / endian / test / spirit_conflict_test.cpp
CommitLineData
92f5a8d4
TL
1// Copyright 2019 Peter Dimov
2//
3// Distributed under the Boost Software License, Version 1.0.
4// http://www.boost.org/LICENSE_1_0.txt
5
6#if defined(_MSC_VER)
7# pragma warning( disable: 4510 ) // default constructor not generated
8# pragma warning( disable: 4512 ) // assignment operator not generated
9# pragma warning( disable: 4610 ) // class can never be instantiated
10#endif
11
12#include <boost/spirit/include/qi.hpp>
13#include <boost/endian/arithmetic.hpp>
14
15struct record
16{
17 boost::endian::big_int16_t type;
18
19 record( boost::int16_t t )
20 {
21 type = t;
22 }
23};