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

Commit 134c04db authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Remove ADISPLAY_ID_ definitions

These were replaced by LogicalDisplayId:: equivalents.

Bug: 339106983
Test: presubmit
Change-Id: Id4ed040c8e3a0d7fdfebbedfb1a7cafba592235d
parent bebdf4e5
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -43,13 +43,6 @@ struct LogicalDisplayId : ftl::Constructible<LogicalDisplayId, int32_t>,
constexpr inline LogicalDisplayId LogicalDisplayId::INVALID{-1};
constexpr inline LogicalDisplayId LogicalDisplayId::DEFAULT{0};

/**
 * Deprecated! Use LogicalDisplayId::INVALID / LogicalDisplayId::DEFAULT instead.
 * TODO(b/339106983): remove these.
 */
[[deprecated]] constexpr LogicalDisplayId ADISPLAY_ID_NONE{-1};
[[deprecated]] constexpr LogicalDisplayId ADISPLAY_ID_DEFAULT{0};

inline std::ostream& operator<<(std::ostream& stream, LogicalDisplayId displayId) {
    return stream << displayId.val();
}