0024893: CLang warnings -Wlogical-not-parentheses for gce_Done comparisons
[occt.git] / src / GC / GC_MakeLine.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 6b3b355..617f291
@@ -1,7 +1,18 @@
-// File:       GC_MakeLine.cxx
-// Created:    Fri Oct  2 16:36:34 1992
-// Author:     Remi GILET
-//             <reg@topsn3>
+// Created on: 1992-10-02
+// Created by: Remi GILET
+// Copyright (c) 1992-1999 Matra Datavision
+// Copyright (c) 1999-2014 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
 
 #include <GC_MakeLine.ixx>
 #include <gce_MakeLin.hxx>
@@ -52,7 +63,7 @@ GC_MakeLine::GC_MakeLine(const gp_Lin& Lin   ,
 
 const Handle(Geom_Line)& GC_MakeLine::Value() const
 { 
-  StdFail_NotDone_Raise_if(!TheError == gce_Done,"");
+  StdFail_NotDone_Raise_if(TheError != gce_Done,"");
   return TheLine;
 }