From 40483f5083b2c525a8a12488acb230b7a9149481 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Fri, 8 Mar 2013 13:25:08 -0500 Subject: [PATCH] Formatting updates for openbr_plugin.h --- sdk/openbr_plugin.h | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/sdk/openbr_plugin.h b/sdk/openbr_plugin.h index b061af9..ad50db4 100644 --- a/sdk/openbr_plugin.h +++ b/sdk/openbr_plugin.h @@ -1005,17 +1005,17 @@ public: } // inplace project/update - void projectUpdate(Template & src) + void projectUpdate(Template &srcdst) { - Template dst = src; - projectUpdate(src, dst); - src = dst; + Template dst; + projectUpdate(srcdst, dst); + srcdst = dst; } - void projectUpdate(TemplateList & src) + void projectUpdate(TemplateList &srcdst) { - TemplateList dst = src; - projectUpdate(src, dst); - src = dst; + TemplateList dst; + projectUpdate(srcdst, dst); + srcdst = dst; } // Time-varying transforms may move away from a single input->single output model, and only emit @@ -1023,16 +1023,12 @@ public: // unique object), in this case finalize indicates that no further calls to project will be made // and the transform can emit a final set if templates if it wants. Time-invariant transforms // don't have to do anything. - virtual void finalize(TemplateList & output) - { - output = TemplateList(); - } - + virtual void finalize(TemplateList & output) { output = TemplateList(); } /*! * \brief Does the transform require the non-const version of project? Can vary for aggregation type transforms * (if their children are time varying, they are also time varying, otherwise probably not) */ - virtual bool timeVarying() const {return false;} + virtual bool timeVarying() const { return false; } /*! * \brief Convenience function equivalent to project(). @@ -1173,7 +1169,6 @@ public: } } - protected: bool isTimeVarying; -- libgit2 0.21.4