Skip to content

Commit

Permalink
try to fix codeblock rendering in Github
Browse files Browse the repository at this point in the history
  • Loading branch information
weilewei committed Aug 18, 2020
1 parent 8a7c42c commit 387adc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/libcds/docs/index.rst
Expand Up @@ -46,7 +46,7 @@ HPX light-weight user-level thread, one might first get familiar with
`LibCDS <https://github.com/khizmax/libcds>`_ itself. The simplest way to
launch Hazard Pointer in HPX threads is to do the following:

.. code-block:: cpp
.. code-block::
#include <hpx/hpx_init.hpp>
#include <cds/init.h> // for cds::Initialize and cds::Terminate
#include <cds/gc/hp.h> // for cds::HP (Hazard Pointer) SMR
Expand Down Expand Up @@ -106,7 +106,7 @@ To use any Hazard Pointer supported container, one also needs to populate
:cpp:type:`cds::gc::hp::details::HPXTLSManager` to all levels of the container.
One simplest map is :cpp:type:`FeldmanHashMap`:

.. code-block:: cpp
.. code-block::
using gc_type = cds::gc::custom_HP<cds::gc::hp::details::HPXTLSManager>;
using key_type = std::size_t;
using value_type = std::string;
Expand Down

0 comments on commit 387adc6

Please sign in to comment.