Skip to content

Commit

Permalink
Scatter typename liberally (like in the good old days)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Sep 22, 2023
1 parent 446858b commit 2862dfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/frontend_xwayland/xwayland_surface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1225,8 +1225,8 @@ void mf::XWaylandSurface::prep_surface_spec(ProofOfMutexLock const&, msh::Surfac
{
if (optional_prop)
{
using ValueType = std::remove_reference<decltype(optional_prop.value())>::type;
using UnderlyingType = ValueType::ValueType;
using ValueType = typename std::remove_reference<decltype(optional_prop.value())>::type;
using UnderlyingType = typename ValueType::ValueType;
auto constexpr raw_max = std::numeric_limits<UnderlyingType>::max();

double const double_value = optional_prop.value().as_value() * inv_scale;
Expand Down

0 comments on commit 2862dfc

Please sign in to comment.