Avoid shadowing, fix formatting.
This commit is contained in:
parent
62d4346190
commit
91dc6cdb93
|
|
@ -47,7 +47,7 @@ public:
|
|||
auto end() const { return this->_values.end(); }
|
||||
|
||||
private:
|
||||
template <typename ElementType> friend class PropertyArrayView;
|
||||
template <typename T> friend class PropertyArrayView;
|
||||
std::vector<ElementType> _values;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1277,7 +1277,7 @@ TEST_CASE("Check matN PropertyTablePropertyView (normalized)") {
|
|||
}
|
||||
|
||||
TEST_CASE("Check boolean PropertyTablePropertyView") {
|
||||
std::bitset<sizeof(unsigned long) * CHAR_BIT> bits = 0b11110101;
|
||||
std::bitset<sizeof(unsigned long)* CHAR_BIT> bits = 0b11110101;
|
||||
unsigned long val = bits.to_ulong();
|
||||
std::vector<std::byte> data(sizeof(val));
|
||||
std::memcpy(data.data(), &val, sizeof(val));
|
||||
|
|
|
|||
Loading…
Reference in New Issue