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

Commit 550964e8 authored by Yi Kong's avatar Yi Kong Committed by Gerrit Code Review
Browse files

Merge "Fix return-stack-address warning"

parents 746108b5 bd5d365d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ class KeyMintBenchmarkTest {

    int getError() { return static_cast<int>(error_); }

    const string& GenerateMessage(int size) {
    const string GenerateMessage(int size) {
        for (const string& message : message_cache_) {
            if (message.size() == size) {
                return message;
@@ -76,7 +76,7 @@ class KeyMintBenchmarkTest {
        }
        string message = string(size, 'x');
        message_cache_.push_back(message);
        return std::move(message);
        return message;
    }

    optional<BlockMode> getBlockMode(string transform) {