diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-02-07 14:49:08 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-02-07 14:49:08 +0000 |
commit | d7e7e511309ef3d46642332389f611dd32ba6d07 (patch) | |
tree | af7a681d095027b49fe0fad7fb9698b10440384b /p2pvr/daemon | |
parent | Build most things by default (diff) | |
download | p2pvr-d7e7e511309ef3d46642332389f611dd32ba6d07.tar.bz2 p2pvr-d7e7e511309ef3d46642332389f611dd32ba6d07.tar.xz p2pvr-d7e7e511309ef3d46642332389f611dd32ba6d07.zip |
Don't require ModelPartFor compat wrapper
Diffstat (limited to 'p2pvr/daemon')
-rw-r--r-- | p2pvr/daemon/objectRowState.h | 4 |
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 { |