Commit 40483f5083b2c525a8a12488acb230b7a9149481

Authored by Charles Otto
1 parent faba75f3

Formatting updates for openbr_plugin.h

Showing 1 changed file with 10 additions and 15 deletions
sdk/openbr_plugin.h
... ... @@ -1005,17 +1005,17 @@ public:
1005 1005 }
1006 1006  
1007 1007 // inplace project/update
1008   - void projectUpdate(Template & src)
  1008 + void projectUpdate(Template &srcdst)
1009 1009 {
1010   - Template dst = src;
1011   - projectUpdate(src, dst);
1012   - src = dst;
  1010 + Template dst;
  1011 + projectUpdate(srcdst, dst);
  1012 + srcdst = dst;
1013 1013 }
1014   - void projectUpdate(TemplateList & src)
  1014 + void projectUpdate(TemplateList &srcdst)
1015 1015 {
1016   - TemplateList dst = src;
1017   - projectUpdate(src, dst);
1018   - src = dst;
  1016 + TemplateList dst;
  1017 + projectUpdate(srcdst, dst);
  1018 + srcdst = dst;
1019 1019 }
1020 1020  
1021 1021 // Time-varying transforms may move away from a single input->single output model, and only emit
... ... @@ -1023,16 +1023,12 @@ public:
1023 1023 // unique object), in this case finalize indicates that no further calls to project will be made
1024 1024 // and the transform can emit a final set if templates if it wants. Time-invariant transforms
1025 1025 // don't have to do anything.
1026   - virtual void finalize(TemplateList & output)
1027   - {
1028   - output = TemplateList();
1029   - }
1030   -
  1026 + virtual void finalize(TemplateList & output) { output = TemplateList(); }
1031 1027 /*!
1032 1028 * \brief Does the transform require the non-const version of project? Can vary for aggregation type transforms
1033 1029 * (if their children are time varying, they are also time varying, otherwise probably not)
1034 1030 */
1035   - virtual bool timeVarying() const {return false;}
  1031 + virtual bool timeVarying() const { return false; }
1036 1032  
1037 1033 /*!
1038 1034 * \brief Convenience function equivalent to project().
... ... @@ -1173,7 +1169,6 @@ public:
1173 1169 }
1174 1170 }
1175 1171  
1176   -
1177 1172 protected:
1178 1173 bool isTimeVarying;
1179 1174  
... ...