From: snn Date: Fri, 12 May 2017 08:50:21 +0000 (+0300) Subject: XCAF: stupid compilation bug fix X-Git-Tag: V_01_2017_06_30~3 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=7ab2d56e84cfde610715e56f971f409674036b6f;p=occt-copy.git XCAF: stupid compilation bug fix --- diff --git a/src/XCAFDoc/XCAFDoc_Note.hxx b/src/XCAFDoc/XCAFDoc_Note.hxx index 524e2d6346..736e6f1802 100644 --- a/src/XCAFDoc/XCAFDoc_Note.hxx +++ b/src/XCAFDoc/XCAFDoc_Note.hxx @@ -44,6 +44,13 @@ public: //! Finds a reference attribute on the given label and returns it, if it is found Standard_EXPORT static Handle(XCAFDoc_Note) Get(const TDF_Label& theLabel); + //! Sets the user name and the timestamp of the note. + //! \param [in] theUserName - the user associated with the note. + //! \param [in] theTimeStamp - timestamp of the note. + //! \return A handle to the attribute instance. + Standard_EXPORT void Set(const TCollection_ExtendedString& theUserName, + const TCollection_ExtendedString& theTimeStamp); + //! Returns the user name, who created the note. Standard_EXPORT const TCollection_ExtendedString& UserName() const; @@ -63,13 +70,6 @@ public: protected: - //! Sets the user name and the timestamp of the note. - //! \param [in] theUserName - the user associated with the note. - //! \param [in] theTimeStamp - timestamp of the note. - //! \return A handle to the attribute instance. - Standard_EXPORT void Set(const TCollection_ExtendedString& theUserName, - const TCollection_ExtendedString& theTimeStamp); - //! Creates an empty note. Standard_EXPORT XCAFDoc_Note();