summaryrefslogtreecommitdiff
path: root/init/interface_utils.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-10-14 13:23:29 -0700
committerTom Cherry <tomcherry@google.com>2019-10-14 13:23:29 -0700
commit4e58c84854d2383fb3bea33e91ca7293277a8ecc (patch)
treec309929cacdd431dc21a16e906d7b4d3194692df /init/interface_utils.cpp
parenta5a107fb6d3335729cb28ed2cbddf5a01eec7b6e (diff)
liblog: remove obsolete comment
The log_time struct satisfies all of the requirements for an implicitly created copy constructor to be present, so not defining one here does not have any real effect. We don't want to delete the copy constructor for the rationale given either; modern C++ favors passing small types by value instead of by reference as the compiler has more opportunity for optimization in that case. That's especially true here, where the size of this struct is the size of a pointer on 64 bit systems. Test: the copy constructor exists for log_time Change-Id: Id314ca7729f4b1ca02adb6c7f0ae759b22be2a5c
Diffstat (limited to 'init/interface_utils.cpp')
0 files changed, 0 insertions, 0 deletions