[Uml-devel] kdesdk/umbrello/umbrello/diagram
Luis De la Parra Blum
lparrab at gmx.net
Tue Apr 1 12:03:51 UTC 2003
CVS commit by luis:
min and max function were not found in gcc 3.x
fixed.
M +6 -0 diagramelement.cpp 1.5
--- kdesdk/umbrello/umbrello/diagram/diagramelement.cpp #1.4:1.5
@@ -20,4 +20,10 @@
#include <qpopupmenu.h>
+//anonymous namespace for file-only data
+namespace {
+float min( float a, float b ) { return a < b ? a: b;}
+float max( float a, float b ) { return a > b ? a: b;}
+}
+
namespace Umbrello{
More information about the umbrello-devel
mailing list