]> OCCT Git - occt-copy.git/commitdiff
XCAF: stupid compilation bug fix
authorsnn <snn@opencascade.com>
Fri, 12 May 2017 08:50:21 +0000 (11:50 +0300)
committerapl <apl@opencascade.com>
Mon, 15 May 2017 10:41:50 +0000 (13:41 +0300)
src/XCAFDoc/XCAFDoc_Note.hxx

index 524e2d63466a114d8fd1bda82db60c584b85e2e2..736e6f18023077407aedb7178f91f0eb48f22e84 100644 (file)
@@ -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();