Skip to content

Commit 15b495b

Browse files
committed
Merge branch 'master' into revert_python_module_removal
modified: src/programs/Utilities/hddm/hddm-cpp.cpp fixes building of python modules for hddm
2 parents ae9c0e9 + 4790894 commit 15b495b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/programs/Utilities/hddm/hddm-cpp.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,12 @@ int main(int argC, char* argV[])
606606
" hddm_type *atype=0) const {\n"
607607
" return 0;\n"
608608
" }\n"
609-
" virtual std::string toString(int indent=0) = 0;\n"
610-
" virtual std::string toXML(int indent=0) = 0;\n"
609+
" virtual std::string toString(int indent=0) {\n"
610+
" return \"bad apple\";\n"
611+
" }\n"
612+
" virtual std::string toXML(int indent=0) {\n"
613+
" return \"<!--bad apple-->\";\n"
614+
" }\n"
611615
" friend class HDDM_ElementList<HDDM_Element>;\n"
612616
" protected:\n"
613617
" HDDM_Element() : m_parent(0), m_host(0) {}\n"

0 commit comments

Comments
 (0)