File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
bindings/py/cpp_src/bindings/engine Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ namespace htm_ext
457457 std::istringstream ss (s);
458458 Network self;
459459 self.load (ss);
460- return std::move ( self) ;
460+ return self;
461461 }));
462462
463463 py_Network.def (" link" , &htm::Network::link
Original file line number Diff line number Diff line change @@ -515,16 +515,16 @@ class LinkRegion : public RegionImpl {
515515 LinkRegion (const ValueMap ¶ms, Region *region) : RegionImpl(region) { param = 52 ; }
516516 LinkRegion (ArWrapper &wrapper, Region *region) : RegionImpl(region) { cereal_adapter_load (wrapper);}
517517
518- void initialize () {}
519- void compute () {
518+ void initialize () override {}
519+ void compute () override {
520520 // This will pass its inputs on to the outputs.
521521 Array &input_data = getInput (" inputs" )->getData ();
522522 Array &output_data = getOutput (" outputs" )->getData ();
523523 input_data.convertInto (output_data);
524524 }
525525 size_t getNodeOutputElementCount (const std::string &name) const override { return 5 ; }
526526
527- std::string executeCommand (const std::vector<std::string> &args, Int64 index) {
527+ std::string executeCommand (const std::vector<std::string> &args, Int64 index) override {
528528 if (args[0 ] == " HelloWorld" && args.size () == 3 )
529529 return " Hello World says: arg1=" + args[1 ] + " arg2=" + args[2 ];
530530 return " " ;
You can’t perform that action at this time.
0 commit comments