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 df524c9 commit 066ac7fCopy full SHA for 066ac7f
src/Controller.h
@@ -18,7 +18,7 @@ class Controller : public Device<T> {
18
public:
19
Controller() : Device<T>() {}
20
int level() { return this->_parentTags.size(); }
21
- ArrayList<Device<E>> devices() { return _devices; }
+ const ArrayList<Device<E>> &devices() { return _devices; }
22
void device(const String &tag, Device<E> device) { _attachDevice(tag, device); }
23
Device<E> device(const String &tag) { return _devices.get(_device_tags.indexOf(tag)); }
24
virtual void initialize(const ArrayList<String> &parentTags) {
0 commit comments