diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/table_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/table_test.cpp b/tests/table_test.cpp index d411d12..f0d1883 100644 --- a/tests/table_test.cpp +++ b/tests/table_test.cpp @@ -142,14 +142,14 @@ main(int argc, char** argv) PathTable<char>::iterator quux_end = pt.find_descendants_end(quux ); assert(quux_end != quux); - Table<Path,char> yanked = pt.yank(quux, quux_end); + SharedPtr< Table<Path,char> > yanked = pt.yank(quux, quux_end); cout << "Yanked " << yank_path << endl; for (PathTable<char>::const_iterator i = pt.begin(); i != pt.end(); ++i) cout << i->first << " "; cout << endl; - pt.cram(yanked); + pt.cram(*yanked.get()); cout << "Crammed " << yank_path << endl; for (PathTable<char>::const_iterator i = pt.begin(); i != pt.end(); ++i) |