[haiku-commits] r39830 - haiku/trunk/src/tests/libs/alm

  • From: clemens.zeidler@xxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 13 Dec 2010 19:52:41 +0100 (CET)

Author: czeidler
Date: 2010-12-13 19:52:41 +0100 (Mon, 13 Dec 2010)
New Revision: 39830
Changeset: http://dev.haiku-os.org/changeset/39830

Modified:
   haiku/trunk/src/tests/libs/alm/Views.cpp
Log:
Fix ALM test.



Modified: haiku/trunk/src/tests/libs/alm/Views.cpp
===================================================================
--- haiku/trunk/src/tests/libs/alm/Views.cpp    2010-12-13 18:41:58 UTC (rev 
39829)
+++ haiku/trunk/src/tests/libs/alm/Views.cpp    2010-12-13 18:52:41 UTC (rev 
39830)
@@ -20,6 +20,9 @@
 #include "ALMLayout.h"
 
 
+using namespace LinearProgramming;
+
+
 class ViewsWindow : public BWindow {
 public:
        ViewsWindow(BRect frame) 
@@ -78,7 +81,7 @@
                layout->AddItemToRight(BSpaceLayoutItem::CreateGlue(), 
layout->Right());
 
                layout->Solver()->AddConstraint(2, layout->TopOf(menu1), -1,
-                       layout->Bottom(), OperatorType(EQ), 0);
+                       layout->Bottom(), OperatorType(kEQ), 0);
 
                // test size limits
                BSize min = layout->MinSize();


Other related posts:

  • » [haiku-commits] r39830 - haiku/trunk/src/tests/libs/alm - clemens . zeidler