File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -84,11 +84,11 @@ class MetadatumPointer: public MetadatumPointerBase {
8484 bool operator !=(const T &other) const {
8585 return &other != **this ;
8686 }
87- // Dereference operator gives access to all datum methods
87+ // Dereference operator gives Python access to all datum methods
8888 T* operator ->() const {
8989 T* ptr = **this ;
9090 if (!ptr)
91- throw std::runtime_error (name + " iterator is at end of data" );
91+ throw std::runtime_error (" iterator is at end of data" );
9292 return ptr;
9393 }
9494};
Original file line number Diff line number Diff line change @@ -84,11 +84,11 @@ class MetadatumPointer: public MetadatumPointerBase {
8484 bool operator !=(const T &other) const {
8585 return &other != **this ;
8686 }
87- // Dereference operator gives access to all datum methods
87+ // Dereference operator gives Python access to all datum methods
8888 T* operator ->() const {
8989 T* ptr = **this ;
9090 if (!ptr)
91- throw std::runtime_error (name + " iterator is at end of data" );
91+ throw std::runtime_error (" iterator is at end of data" );
9292 return ptr;
9393 }
9494};
Original file line number Diff line number Diff line change @@ -84,11 +84,11 @@ class MetadatumPointer: public MetadatumPointerBase {
8484 bool operator !=(const T &other) const {
8585 return &other != **this ;
8686 }
87- // Dereference operator gives access to all datum methods
87+ // Dereference operator gives Python access to all datum methods
8888 T* operator ->() const {
8989 T* ptr = **this ;
9090 if (!ptr)
91- throw std::runtime_error (name + " iterator is at end of data" );
91+ throw std::runtime_error (" iterator is at end of data" );
9292 return ptr;
9393 }
9494};
You can’t perform that action at this time.
0 commit comments