[Kst] branches/work/kst/portto4/kst/tests

Mike Fenton mike at staikos.net
Fri Nov 14 22:23:07 CET 2008


SVN commit 884406 by fenton:

Fix windows build error.


 M  +1 -1      testobjectstore.cpp  


--- branches/work/kst/portto4/kst/tests/testobjectstore.cpp #884405:884406
@@ -35,7 +35,7 @@
   QCOMPARE(store.getObjects<Scalar>().count(), 2);
   QCOMPARE(store.getObjects<Vector>().count(), 0);
 
-  QVERIFY(sc == store.retrieveObject(sc->Name())); // can retrieve the object from the store
+  QVERIFY(sc == kst_cast<Scalar>(store.retrieveObject(sc->Name()))); // can retrieve the object from the store
 
   VectorPtr vec = kst_cast<Vector>(store.createObject<Vector>());
   QVERIFY(vec);


More information about the Kst mailing list