commit | 0bb4757d0383eb885a5a1ef49b0dd769d50c279d | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@google.com> | Mon Dec 05 10:43:00 2022 -0800 |
committer | Bart Van Assche <bvanassche@google.com> | Mon Dec 05 11:41:26 2022 -0800 |
tree | f4d21386a26421f37b3c9c54851c0d7292bdcec9 | |
parent | 42764c4e3e0d932d8567233b7b5466e1d7921a29 [diff] |
init: Prevent copying of Service objects Service objects have external state (the child process) and hence must not be duplicated. Disable the copy constructor and the assignment operator to prevent that these objects get duplicated accidentally. Bug: 213617178 Change-Id: Ia5391154b94eca7f12be69eabcdf3f173fc06452 Signed-off-by: Bart Van Assche <bvanassche@google.com>