Author: czeidler Date: 2010-09-21 00:48:49 +0200 (Tue, 21 Sep 2010) New Revision: 38751 Changeset: http://dev.haiku-os.org/changeset/38751 Modified: haiku/trunk/src/tests/libs/alm/Jamfile haiku/trunk/src/tests/libs/alm/TwoViews.cpp Log: Fix ALM tests. Modified: haiku/trunk/src/tests/libs/alm/Jamfile =================================================================== --- haiku/trunk/src/tests/libs/alm/Jamfile 2010-09-20 22:47:13 UTC (rev 38750) +++ haiku/trunk/src/tests/libs/alm/Jamfile 2010-09-20 22:48:49 UTC (rev 38751) @@ -3,7 +3,9 @@ SetSubDirSupportedPlatformsBeOSCompatible ; UseLibraryHeaders lp_solve linprog alm ; +UsePrivateHeaders shared ; + Application ALMHelloWorld : HelloWorld.cpp : Modified: haiku/trunk/src/tests/libs/alm/TwoViews.cpp =================================================================== --- haiku/trunk/src/tests/libs/alm/TwoViews.cpp 2010-09-20 22:47:13 UTC (rev 38750) +++ haiku/trunk/src/tests/libs/alm/TwoViews.cpp 2010-09-20 22:48:49 UTC (rev 38751) @@ -35,7 +35,7 @@ // add a constraint: 2*x1 == right // i.e. x1 is in the middle of the layout - layout->AddConstraint(2, x1, -1, layout->Right(), + layout->Solver()->AddConstraint(2, x1, -1, layout->Right(), OperatorType(EQ), 0); }