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

Commit 03826d1b authored by Elliott Hughes's avatar Elliott Hughes Committed by Android (Google) Code Review
Browse files

Merge "C++17 compatibility: add missing `constexpr`."

parents 608be269 d5c7eec2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -289,7 +289,7 @@ public:
     * Convert to a smaller counter type. This is always safe.
     */
    template<typename U, typename E=typename std::enable_if<(sizeof(U) < sizeof(T))>::type>
    inline operator c2_cntr_t<U>() {
    inline constexpr operator c2_cntr_t<U>() {
        return c2_cntr_t<U>(mValue);
    }