File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -563,13 +563,14 @@ class OSIMCOMMON_API Object
563
563
lost here. **/
564
564
void setDocument (XMLDocument* doc) {_document=doc;}
565
565
566
- /* * Get a const pointer to the document (if any) associated with this
567
- object. **/
568
- const XMLDocument* getDocument () const {return _document;}
569
566
/* * Get a writable pointer to the document (if any) associated with this
570
567
object. **/
571
568
XMLDocument* updDocument () {return _document;}
572
569
public:
570
+ /* * Get a const pointer to the document (if any) associated with this
571
+ object. **/
572
+ const XMLDocument* getDocument () const { return _document; }
573
+
573
574
/* * If there is a document associated with this object then return the
574
575
file name maintained by the document. Otherwise return an empty string. **/
575
576
std::string getDocumentFileName () const ;
You can’t perform that action at this time.
0 commit comments