File tree 1 file changed +6
-5
lines changed 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 13
13
14
14
#include < iosfwd>
15
15
#include < vector>
16
+ #include < cstdint>
16
17
17
18
namespace Catch {
18
- enum class XmlFormatting : uint8_t {
19
+ enum class XmlFormatting : std:: uint8_t {
19
20
None = 0x00 ,
20
21
Indent = 0x01 ,
21
22
Newline = 0x02 ,
22
23
};
23
24
24
25
constexpr XmlFormatting operator |( XmlFormatting lhs, XmlFormatting rhs ) {
25
- return static_cast <XmlFormatting>( static_cast <uint8_t >( lhs ) |
26
- static_cast <uint8_t >( rhs ) );
26
+ return static_cast <XmlFormatting>( static_cast <std:: uint8_t >( lhs ) |
27
+ static_cast <std:: uint8_t >( rhs ) );
27
28
}
28
29
29
30
constexpr XmlFormatting operator &( XmlFormatting lhs, XmlFormatting rhs ) {
30
- return static_cast <XmlFormatting>( static_cast <uint8_t >( lhs ) &
31
- static_cast <uint8_t >( rhs ) );
31
+ return static_cast <XmlFormatting>( static_cast <std:: uint8_t >( lhs ) &
32
+ static_cast <std:: uint8_t >( rhs ) );
32
33
}
33
34
34
35
You can’t perform that action at this time.
0 commit comments