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

Commit 608316b4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "No need to std::move local variable to return value" into main

parents 9bf81137 652182c4
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -309,9 +309,8 @@ Asset::Asset(void)
        return NULL;
    }

    // We succeeded, so relinquish control of dataMap
    pAsset->mAccessMode = mode;
    return std::move(pAsset);
    return pAsset;
}

/*
@@ -328,9 +327,8 @@ Asset::Asset(void)
      return NULL;
  }

  // We succeeded, so relinquish control of dataMap
  pAsset->mAccessMode = mode;
  return std::move(pAsset);
  return pAsset;
}

/*