summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2023-07-02 14:04:45 +0100
committerDmitry Ilvokhin <d@ilvokhin.com>2023-07-02 14:04:45 +0100
commit81877e175b467d615bc83498423274e01e211ad9 (patch)
tree21c0ee189798c3c52815d3526b36f4b087c5a18c
parent21d68ac5605f12ffea3f05ad677c717577f767ee (diff)
downloadblog-81877e175b467d615bc83498423274e01e211ad9.tar.gz
blog-81877e175b467d615bc83498423274e01e211ad9.tar.bz2
blog-81877e175b467d615bc83498423274e01e211ad9.zip
Add indent to code example
-rw-r--r--posts/libstdc++-std-unordered-map/libstdc++-unordered-map.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/posts/libstdc++-std-unordered-map/libstdc++-unordered-map.md b/posts/libstdc++-std-unordered-map/libstdc++-unordered-map.md
index b76ffe9..a1ddad2 100644
--- a/posts/libstdc++-std-unordered-map/libstdc++-unordered-map.md
+++ b/posts/libstdc++-std-unordered-map/libstdc++-unordered-map.md
@@ -403,10 +403,10 @@ __node_ptr
_M_find_node(size_type __bkt, const key_type& __key,
__hash_code __c) const
{
- __node_base_ptr __before_n = _M_find_before_node(__bkt, __key, __c);
- if (__before_n)
- return static_cast<__node_ptr>(__before_n->_M_nxt);
- return nullptr;
+ __node_base_ptr __before_n = _M_find_before_node(__bkt, __key, __c);
+ if (__before_n)
+ return static_cast<__node_ptr>(__before_n->_M_nxt);
+ return nullptr;
}
```