From 7743d332e41c7795dcbaa49511293f22597e4db7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 15 Oct 2009 16:58:33 +0000 Subject: Replace more use of at(0) with head(). git-svn-id: http://svn.drobilla.net/resp/tuplr@228 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- src/repl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/repl.cpp') diff --git a/src/repl.cpp b/src/repl.cpp index 96f30c3..a94e51c 100644 --- a/src/repl.cpp +++ b/src/repl.cpp @@ -64,7 +64,7 @@ callPrintCollect(CEnv& cenv, CFunc f, AST* result, AType* resultT, bool execute) cenv.out << cenv.engine()->call(cenv, f, resultT); // Print type (if applicable) - if (resultT->at(0)->to()->cppstr != "Nothing") + if (resultT->head()->to()->cppstr != "Nothing") cenv.out << " : " << resultT << endl; Object::pool.collect(Object::pool.roots()); -- cgit v1.2.1