You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
983 B
Plaintext
27 lines
983 B
Plaintext
|
|
(src/libshit/bitfield.hpp has correct #includes/fwd-decls)
|
|
|
|
test/bitfield.cpp should add these lines:
|
|
namespace Libshit { namespace { struct Bool1; } }
|
|
namespace Libshit { namespace { struct Bool2; } }
|
|
namespace Libshit { namespace { struct Enum1; } }
|
|
namespace Libshit { namespace { struct Enum2; } }
|
|
namespace Libshit { namespace { struct Enum3; } }
|
|
namespace Libshit { namespace { struct OptBool; } }
|
|
namespace Libshit { namespace { struct UInt; } }
|
|
|
|
test/bitfield.cpp should remove these lines:
|
|
|
|
The full include-list for test/bitfield.cpp:
|
|
#include "libshit/bitfield.hpp"
|
|
#include <cstdint>
|
|
#include "libshit/doctest.hpp"
|
|
namespace Libshit { namespace { struct Bool1; } }
|
|
namespace Libshit { namespace { struct Bool2; } }
|
|
namespace Libshit { namespace { struct Enum1; } }
|
|
namespace Libshit { namespace { struct Enum2; } }
|
|
namespace Libshit { namespace { struct Enum3; } }
|
|
namespace Libshit { namespace { struct OptBool; } }
|
|
namespace Libshit { namespace { struct UInt; } }
|
|
---
|