summaryrefslogtreecommitdiff
path: root/src/context
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-02-15 11:19:08 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-02-16 15:23:00 -0500
commitf06ae104dc3caf9b4ff01a0b2d49b09ace88faad (patch)
tree488669992e6d375450e18a2c92659be3f93f7a88 /src/context
parent5e29fdffd2f72212d699316f9b27e1bf9d6c715c (diff)
Some cleanup and copyright updating
* update some copyrights for 2013 * cleaned up some comments/ifdefs, indentation * some spelling corrections * add some missing makefiles
Diffstat (limited to 'src/context')
-rw-r--r--src/context/cdinsert_hashmap.h2
-rw-r--r--src/context/cdtrail_hashmap.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/context/cdinsert_hashmap.h b/src/context/cdinsert_hashmap.h
index 0c84eda80..74e2fcf28 100644
--- a/src/context/cdinsert_hashmap.h
+++ b/src/context/cdinsert_hashmap.h
@@ -392,7 +392,7 @@ class CDInsertHashMap <TNode, Data, HashFcn > : public ContextObj {
* If the key is a TNode and the backing (the hard node reference)
* for the key in another data structure removes the key at the same context
* the ref count could drop to 0. The key would then not be eligible to be
- * hashed. Getting the order right with a guarentee is to hard.
+ * hashed. Getting the order right with a guarantee is too hard.
*/
BOOST_STATIC_ASSERT(sizeof(Data) == 0);
diff --git a/src/context/cdtrail_hashmap.h b/src/context/cdtrail_hashmap.h
index 5f090341d..2d2020a16 100644
--- a/src/context/cdtrail_hashmap.h
+++ b/src/context/cdtrail_hashmap.h
@@ -540,7 +540,7 @@ public:
return d_trailMap->find(k);
}
- /** Returns an iterator to the begining of the map. */
+ /** Returns an iterator to the beginning of the map. */
const_iterator begin() const{
return d_trailMap->begin();
}
@@ -561,7 +561,7 @@ class CDTrailHashMap <TNode, Data, HashFcn > : public ContextObj {
* If the key is a TNode and the backing (the hard node reference)
* for the key in another data structure removes the key at the same context
* the ref count could drop to 0. The key would then not be eligible to be
- * hashed. Getting the order right with a guarentee is to hard.
+ * hashed. Getting the order right with a guarantee is too hard.
*/
BOOST_STATIC_ASSERT(sizeof(Data) == 0);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback