From 8cd3da02902c7071284d268b535f6fdf58bb8c3f Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 22 Mar 2013 02:50:46 -0700 Subject: gras: rename lookup to locate --- include/gras/element.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/gras/element.hpp b/include/gras/element.hpp index 13ebb7c..633ab84 100644 --- a/include/gras/element.hpp +++ b/include/gras/element.hpp @@ -59,7 +59,7 @@ struct GRAS_API Element : ElementBase, boost::enable_shared_from_this void adopt_element(const std::string &name, const Element &child); /*! - * Lookup a block in the element tree hierarchy. + * Locate a block in the element tree hierarchy. * * Paths are unix style, absolte and relatives paths are possible. * This call throws an invalid argument when bad paths are given. @@ -70,7 +70,7 @@ struct GRAS_API Element : ElementBase, boost::enable_shared_from_this * \param path a path to a block (leaf) in the tree * \return a pointer to the block */ - Block *lookup_block(const std::string &path); + Block *locate_block(const std::string &path); /******************************************************************* * Compatibility for dealing with shared ptrs of Elements -- cgit