[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/umbrello/umbrello/diagram
From: Luis De la Parra Blum <lparrab () gmx ! net>
Date: 2003-04-01 20:00:22
[Download RAW message or body]
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{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic