diff --git a/hoot-core/src/main/cpp/hoot/core/elements/OsmMap.cpp b/hoot-core/src/main/cpp/hoot/core/elements/OsmMap.cpp
index 654df8e..133681e 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/OsmMap.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/elements/OsmMap.cpp
@@ -158,7 +158,7 @@ void OsmMap::append(const ConstOsmMapPtr& appendFromMap, const bool throwOutDupe
NodePtr node = itn->second;
if (containsElement(ElementId(node->getElementId())))
{
- // If they have the same ID but aren't considerd to be identical elements, throw an error.
+ // If they have the same ID but aren't considered to be identical elements, throw an error.
// Otherwise we'll just skip adding the identical element, since we already have it.
// throwOutDupes being enabled lets us skip it whether the two are identical or not.
ElementPtr existingElement = getElement(node->getElementId());
@@ -403,7 +403,6 @@ bool OsmMap::containsElement(const std::shared_ptr<const Element>& e) const
void OsmMap::_copy(const ConstOsmMapPtr& from)
{
_idGen = from->_idGen;
- _idGenSp = from->_idGenSp;
_index.reset(new OsmMapIndex(*this));
_srs = from->getProjection();
_roundabouts = from->getRoundabouts();
@@ -1096,7 +1095,7 @@ void OsmMap::_replaceNodeInRelations(long oldId, long newId)
{
RelationPtr currRelation = it->second;
- if ( currRelation->contains(oldNodeId) == true )
+ if (currRelation->contains(oldNodeId) == true)
{
LOG_TRACE("Trying to replace node " << oldNode->getId() << " with node " <<
newNode->getId() << " in relation " << currRelation->getId());