Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b8633b commit 22c150dCopy full SHA for 22c150d
src/include/servoarray/user_config.h
@@ -54,13 +54,13 @@ class MapConfig {
54
};
55
56
class OffsetConfig {
57
- std::vector<double> offsets_;
+ std::unordered_map<std::size_t, double> offsets_;
58
59
friend class UserConfig;
60
61
public:
62
- const std::vector<double>& offsets() const&;
63
- std::vector<double> offsets() &&;
+ const std::unordered_map<std::size_t, double>& offsets() const&;
+ std::unordered_map<std::size_t, double> offsets() &&;
64
65
OffsetConfig& merge(const OffsetConfig&);
66
0 commit comments