Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10826481 authored by T.J. Mercier's avatar T.J. Mercier
Browse files

libprocessgroup: Don't delegate to default constructor

Manually calling a defaulted default constructor from a another
constructor is superfluous, and can increase code size if the default
constructor is not otherwise used. There's nothing to delegate, so
remove the call.

Bug: 346584259
Test: m
Change-Id: Ia16aa041fdee7434587cf90645d7f95cba4e0d10
parent df67107a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ namespace format {

CgroupController::CgroupController(uint32_t version, uint32_t flags, const std::string& name,
                                   const std::string& path)
    : CgroupController() {
{
    // strlcpy isn't available on host. Although there is an implementation
    // in licutils, libcutils itself depends on libcgrouprc_format, causing
    // a circular dependency.