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

Commit 062926ec authored by Felipe Leme's avatar Felipe Leme
Browse files

Uses DISALLOW_COPY_AND_ASSIGN.

BUG: 26379932
Test: DumpstateTest passes

Change-Id: I544929fdd1f9777d6e2e6c602ca75d00fee358b9
parent 61ac1101
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@
#ifndef FRAMEWORK_NATIVE_CMD_DUMPSTATE_H_
#define FRAMEWORK_NATIVE_CMD_DUMPSTATE_H_

#include <android-base/macros.h>

#ifndef MYLOGD
#define MYLOGD(...) fprintf(stderr, __VA_ARGS__); ALOGD(__VA_ARGS__);
#endif
@@ -92,6 +94,8 @@ class DurationReporter {
    std::string title_;
    FILE* out_;
    uint64_t started_;

    DISALLOW_COPY_AND_ASSIGN(DurationReporter);
};

/*
@@ -396,6 +400,8 @@ class Dumpstate {

    // Build type (such as 'user' or 'eng').
    std::string build_type_;

    DISALLOW_COPY_AND_ASSIGN(Dumpstate);
};

// for_each_pid_func = void (*)(int, const char*);
+0 −2
Original line number Diff line number Diff line
@@ -14,8 +14,6 @@
 * limitations under the License.
 */

#include "dumpstate.h"

void dumpstate_board(void)
{
}