Skip to content

Commit

Permalink
fixup previous commit
Browse files Browse the repository at this point in the history
(bool) ptr -> bool (ptr)
  • Loading branch information
cbeck88 committed Jun 19, 2014
1 parent 8a18fa1 commit a570e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unit_map.hpp
Expand Up @@ -228,7 +228,7 @@ class unit_map {

bool valid() const {
if(valid_for_dereference()) {
return (bool) i_->second.unit;
return bool (i_->second.unit);
}
return false;
}
Expand Down

0 comments on commit a570e5b

Please sign in to comment.