diff options
author | Josh Blum | 2013-03-22 02:50:46 -0700 |
---|---|---|
committer | Josh Blum | 2013-03-22 02:50:46 -0700 |
commit | 8cd3da02902c7071284d268b535f6fdf58bb8c3f (patch) | |
tree | 3142118d29f301683859773cc980c15846719f38 /include | |
parent | 854cb19d99e8cce67fd30c5cfc78c02bbeb3bcd2 (diff) | |
download | sandhi-8cd3da02902c7071284d268b535f6fdf58bb8c3f.tar.gz sandhi-8cd3da02902c7071284d268b535f6fdf58bb8c3f.tar.bz2 sandhi-8cd3da02902c7071284d268b535f6fdf58bb8c3f.zip |
gras: rename lookup to locate
Diffstat (limited to 'include')
-rw-r--r-- | include/gras/element.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Element> 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<Element> * \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 |