diff --git a/pwiz/utility/bindings/CLI/common/cv.hpp b/pwiz/utility/bindings/CLI/common/cv.hpp index 0b2c5c8fc7..8b1da3c8d6 100644 --- a/pwiz/utility/bindings/CLI/common/cv.hpp +++ b/pwiz/utility/bindings/CLI/common/cv.hpp @@ -17168,17 +17168,17 @@ public ref class CVTermInfo /// /// returns a list of terms which this term has an IS_A relationship with /// - property CVIDList^ parentsIsA { CVIDList^ get() {return gcnew CVIDList(&base_->parentsIsA);} } + property CVIDList^ parentsIsA { CVIDList^ get() {return gcnew CVIDList(&base_->parentsIsA, gcnew Object());} } /// /// returns a list of terms which this term has a PART_OF relationship with /// - property CVIDList^ parentsPartOf { CVIDList^ get() {return gcnew CVIDList(&base_->parentsPartOf);} } + property CVIDList^ parentsPartOf { CVIDList^ get() {return gcnew CVIDList(&base_->parentsPartOf, gcnew Object());} } /// /// returns a list of term names synonymous with this term /// - property StringList^ exactSynonyms { StringList^ get() {return gcnew StringList(&base_->exactSynonyms);} } + property StringList^ exactSynonyms { StringList^ get() {return gcnew StringList(&base_->exactSynonyms, gcnew Object());} } CVTermInfo() : base_(new pwiz::cv::CVTermInfo()) {} diff --git a/pwiz/utility/bindings/CLI/common/cvgen_cli.cpp b/pwiz/utility/bindings/CLI/common/cvgen_cli.cpp index 298faa688e..737de4b4ab 100644 --- a/pwiz/utility/bindings/CLI/common/cvgen_cli.cpp +++ b/pwiz/utility/bindings/CLI/common/cvgen_cli.cpp @@ -232,17 +232,17 @@ void writeHpp(const vector& obos, const string& basename, const bfs::path& << " /// \n" << " /// returns a list of terms which this term has an IS_A relationship with\n" << " /// \n" - << " property CVIDList^ parentsIsA { CVIDList^ get() {return gcnew CVIDList(&base_->parentsIsA);} }\n" + << " property CVIDList^ parentsIsA { CVIDList^ get() {return gcnew CVIDList(&base_->parentsIsA, gcnew Object());} }\n" << "\n" << " /// \n" << " /// returns a list of terms which this term has a PART_OF relationship with\n" << " /// \n" - << " property CVIDList^ parentsPartOf { CVIDList^ get() {return gcnew CVIDList(&base_->parentsPartOf);} }\n" + << " property CVIDList^ parentsPartOf { CVIDList^ get() {return gcnew CVIDList(&base_->parentsPartOf, gcnew Object());} }\n" << "\n" << " /// \n" << " /// returns a list of term names synonymous with this term\n" << " /// \n" - << " property StringList^ exactSynonyms { StringList^ get() {return gcnew StringList(&base_->exactSynonyms);} }\n" + << " property StringList^ exactSynonyms { StringList^ get() {return gcnew StringList(&base_->exactSynonyms, gcnew Object());} }\n" << "\n" << " CVTermInfo() : base_(new pwiz::cv::CVTermInfo()) {}\n" << "\n"