| … | … | @@ -98,7 +98,7 @@ class VectorAPIUTest : public CxxTest::TestSuite |
| 98 | 98 | void VectorAPIUTest::setUp(void) |
| 99 | 99 | { |
| 100 | 100 | as = createAtomSpace(); |
| 101 | | eval = new SchemeEval(as); |
| 101 | eval = SchemeEval::get_scheme_evaluator(as); |
| 102 | 102 | |
| 103 | 103 | // Proper UTF-8 behaviour requires the right locale. |
| 104 | 104 | // Do not use LC_ALL, as otherwise the printing of the numeric |
| … | … | @@ -124,8 +124,6 @@ void VectorAPIUTest::setUp(void) |
| 124 | 124 | |
| 125 | 125 | void VectorAPIUTest::tearDown(void) |
| 126 | 126 | { |
| 127 | | delete eval; |
| 128 | | eval = NULL; |
| 129 | 127 | } |
| 130 | 128 | |
| 131 | 129 | // ==================================================================== |