File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ namespace vsg
4242 delete[] buffer;
4343 }
4444
45- uint8_t * align (uint8_t * p) const
45+ static uint8_t * align (uint8_t * p)
4646 {
4747 auto alignment = sizeof (p);
4848 uint8_t * new_p = reinterpret_cast <uint8_t *>(((reinterpret_cast <size_t >(p) + alignment - 1 ) / alignment) * alignment);
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ namespace vsg
6464 void * data () const ;
6565
6666 protected:
67- ~DeviceFeatures ();
67+ ~DeviceFeatures () override ;
6868
6969 struct FeatureHeader
7070 {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ namespace vsg
3232 T& operator [](uint32_t ) { return value; }
3333 const T& operator [](uint32_t ) const { return value; }
3434
35- uint32_t size () const { return 1 ; }
35+ constexpr static uint32_t size () { return 1 ; }
3636
3737 void clear () { value = {}; }
3838
You can’t perform that action at this time.
0 commit comments