Skip to content

Commit

Permalink
Documentation|libdeng2: Language
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Nov 26, 2012
1 parent e95b110 commit a4eed64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doomsday/libdeng2/include/de/data/pathtree.h
Expand Up @@ -123,7 +123,7 @@ class DENG2_PUBLIC PathTree
* spell out all the arguments provided by PathTree.
*
* Not public as only PathTree itself constructs instances, others can
* threat this as an opaque type.
* treat this as an opaque type.
*/
struct NodeArgs
{
Expand Down Expand Up @@ -154,12 +154,12 @@ class DENG2_PUBLIC PathTree
PathTree &tree() const;

/// @return Parent of this node. For nodes at the root level,
/// this is the tree's special root node.
/// the parent is the tree's special root node.
Node &parent() const;

/// Returns the children of a branch node. Note that leaf nodes
/// have no children -- calling this for leaf nodes is not allowed.
Nodes const &children() const;
Children const &children() const;

/// Determines if the node is at the root level of the tree
/// (no other node is its parent).
Expand Down
2 changes: 1 addition & 1 deletion doomsday/libdeng2/src/data/pathtreenode.cpp
Expand Up @@ -79,7 +79,7 @@ PathTree::Node &PathTree::Node::parent() const
return *d->parent;
}

const PathTree::Nodes &PathTree::Node::children() const
const PathTree::Node::Children &PathTree::Node::children() const
{
DENG2_ASSERT(d->children != 0);
return *d->children;
Expand Down

0 comments on commit a4eed64

Please sign in to comment.