aboutsummaryrefslogtreecommitdiffstats
path: root/src/repl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-15 16:58:33 +0000
committerDavid Robillard <d@drobilla.net>2009-10-15 16:58:33 +0000
commit7743d332e41c7795dcbaa49511293f22597e4db7 (patch)
treec6018e89d3265698e992a3e96b77a25ae40675b6 /src/repl.cpp
parentcc8d52479fea5b2f4419463daf027ec11e813dc8 (diff)
downloadresp-7743d332e41c7795dcbaa49511293f22597e4db7.tar.gz
resp-7743d332e41c7795dcbaa49511293f22597e4db7.tar.bz2
resp-7743d332e41c7795dcbaa49511293f22597e4db7.zip
Replace more use of at(0) with head().
git-svn-id: http://svn.drobilla.net/resp/tuplr@228 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/repl.cpp')
-rw-r--r--src/repl.cpp2
1 files changed, 1 insertions, 1 deletions
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<const ASymbol*>()->cppstr != "Nothing")
+ if (resultT->head()->to<const ASymbol*>()->cppstr != "Nothing")
cenv.out << " : " << resultT << endl;
Object::pool.collect(Object::pool.roots());