From d7e7e511309ef3d46642332389f611dd32ba6d07 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 7 Feb 2016 14:49:08 +0000 Subject: Don't require ModelPartFor compat wrapper --- p2pvr/daemon/objectRowState.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p2pvr/daemon/objectRowState.h b/p2pvr/daemon/objectRowState.h index 3e3fd2f..252a411 100644 --- a/p2pvr/daemon/objectRowState.h +++ b/p2pvr/daemon/objectRowState.h @@ -15,7 +15,7 @@ void BindColumns(Slicer::ModelPartPtr, const SelectedColumns &, RowState &); template void BindColumns(RowState & rs, const SelectedColumns & sc, const V & v) { - BindColumns(Slicer::ModelPartFor(const_cast(v)), sc, rs); + BindColumns(Slicer::ModelPart::CreateFor(const_cast(v)), sc, rs); } SelectedColumns CreateColumns(Slicer::ModelPartPtr, const ColumnCreator &); @@ -24,7 +24,7 @@ template SelectedColumns CreateColumns(const ColumnCreator & cc) { V v; - return CreateColumns(Slicer::ModelPartFor(v), cc); + return CreateColumns(Slicer::ModelPart::CreateFor(v), cc); } class ObjectRowState : public RowState { -- cgit v1.2.3