summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-02-07 14:49:08 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-02-07 14:49:08 +0000
commitd7e7e511309ef3d46642332389f611dd32ba6d07 (patch)
treeaf7a681d095027b49fe0fad7fb9698b10440384b
parentBuild most things by default (diff)
downloadp2pvr-d7e7e511309ef3d46642332389f611dd32ba6d07.tar.bz2
p2pvr-d7e7e511309ef3d46642332389f611dd32ba6d07.tar.xz
p2pvr-d7e7e511309ef3d46642332389f611dd32ba6d07.zip
Don't require ModelPartFor compat wrapper
-rw-r--r--p2pvr/daemon/objectRowState.h4
1 files 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 <typename V>
void BindColumns(RowState & rs, const SelectedColumns & sc, const V & v)
{
- BindColumns(Slicer::ModelPartFor(const_cast<V &>(v)), sc, rs);
+ BindColumns(Slicer::ModelPart::CreateFor(const_cast<V &>(v)), sc, rs);
}
SelectedColumns CreateColumns(Slicer::ModelPartPtr, const ColumnCreator &);
@@ -24,7 +24,7 @@ template <typename V>
SelectedColumns CreateColumns(const ColumnCreator & cc)
{
V v;
- return CreateColumns(Slicer::ModelPartFor(v), cc);
+ return CreateColumns(Slicer::ModelPart::CreateFor(v), cc);
}
class ObjectRowState : public RowState {