From b1f9962baedd642e3cd935a41561b6766b04b4bf Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Mon, 13 Dec 2010 18:52:41 +0000 Subject: [PATCH] Fix ALM test. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39830 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/libs/alm/Views.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tests/libs/alm/Views.cpp b/src/tests/libs/alm/Views.cpp index 1b69f86f54..00c0ded718 100644 --- a/src/tests/libs/alm/Views.cpp +++ b/src/tests/libs/alm/Views.cpp @@ -20,6 +20,9 @@ #include "ALMLayout.h" +using namespace LinearProgramming; + + class ViewsWindow : public BWindow { public: ViewsWindow(BRect frame) @@ -78,7 +81,7 @@ public: 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();