mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
[wpiutil] DynamicStruct: Make GetEnumValues() const (#8223)
Also remove unnecessary include.
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <unordered_set>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
@@ -190,7 +189,7 @@ class StructFieldDescriptor {
|
||||
*
|
||||
* @return set of enumerated values
|
||||
*/
|
||||
const EnumValues& GetEnumValues() { return m_enum; }
|
||||
const EnumValues& GetEnumValues() const { return m_enum; }
|
||||
|
||||
/**
|
||||
* Gets the struct descriptor for a struct data type.
|
||||
|
||||
Reference in New Issue
Block a user