]> git.proxmox.com Git - ceph.git/blobdiff - ceph/doc/dev/encoding.rst
import quincy beta 17.1.0
[ceph.git] / ceph / doc / dev / encoding.rst
index 398c85d95f9038723b29616516fd1bd19ccc64fa..81b52500e63b421042c5aed93d72b742a8c14b32 100644 (file)
@@ -13,7 +13,7 @@ Adding a field to a structure
 You can see examples of this all over the Ceph code, but here's an
 example:
 
-::
+.. code-block:: cpp
 
     class AcmeClass
     {
@@ -55,7 +55,7 @@ at the end of the ``encode`` and ``decode`` functions, and incrementing
 the versions in ``ENCODE_START`` and ``DECODE_START``.  For example, here's how
 to add a third field to ``AcmeClass``:
 
-::
+.. code-block:: cpp
 
     class AcmeClass
     {