Skip to content

Commit 066ac7f

Browse files
committed
Matched Python APIs. (#319)
1 parent df524c9 commit 066ac7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Controller : public Device<T> {
1818
public:
1919
Controller() : Device<T>() {}
2020
int level() { return this->_parentTags.size(); }
21-
ArrayList<Device<E>> devices() { return _devices; }
21+
const ArrayList<Device<E>> &devices() { return _devices; }
2222
void device(const String &tag, Device<E> device) { _attachDevice(tag, device); }
2323
Device<E> device(const String &tag) { return _devices.get(_device_tags.indexOf(tag)); }
2424
virtual void initialize(const ArrayList<String> &parentTags) {

0 commit comments

Comments
 (0)