Skip to content

Commit

Permalink
Apply suggestions from review
Browse files Browse the repository at this point in the history
Co-authored-by: cbullinger <[email protected]>
  • Loading branch information
dacharyc and cbullinger authored Nov 27, 2023
1 parent 1f0738d commit df025ed
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion source/sdk/cpp/app-services/call-a-function.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function as a string for the first parameter. This function takes two arguments,
which we provide as a ``BsonArray`` of arguments:

.. versionchanged:: 0.2.0 Returns std::future instead of std::promise
.. versionchanged:: v0.4.0-preview replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)
.. versionchanged:: v0.4.0-preview Replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)

.. literalinclude:: /examples/generated/cpp/call-function.snippet.beta-call-a-function.cpp
:language: cpp
Expand Down
2 changes: 1 addition & 1 deletion source/sdk/cpp/app-services/connect-to-app.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Prerequisites
Access the App Client
---------------------

.. versionchanged:: v0.4.0-preview replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)
.. versionchanged:: v0.4.0-preview Replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)

#. :ref:`Find the App ID in the Realm UI <find-your-app-id>`.
#. Create an :cpp-sdk:`App object <classrealm_1_1App.html>`
Expand Down
2 changes: 1 addition & 1 deletion source/sdk/cpp/realm-files/configure-and-open-a-realm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ To open a synced realm:
.. tab:: Current
:tabid: current

.. versionchanged:: v0.4.0-preview replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)
.. versionchanged:: v0.4.0-preview Replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)

.. literalinclude:: /examples/generated/cpp/flexible-sync.snippet.beta-flexible-sync-prerequisites.cpp
:language: cpp
Expand Down
4 changes: 2 additions & 2 deletions source/sdk/cpp/sync/handle-sync-errors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ occurred.
.. tab:: Current
:tabid: current

.. versionchanged:: v0.4.0-preview replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)
.. versionchanged:: v0.4.0-preview Replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)

.. literalinclude:: /examples/generated/cpp/sync-errors.snippet.beta-create-error-handler.cpp
:language: cpp
Expand All @@ -43,7 +43,7 @@ occurred.
:tabid: deprecated

.. versionchanged:: 0.2.0 app.login returns std::future instead of std::promise
.. versionchanged:: v0.4.0-preview replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)
.. versionchanged:: v0.4.0-preview Replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)

.. literalinclude:: /examples/generated/cpp/sync-errors.snippet.create-error-handler.cpp
:language: cpp
Expand Down
2 changes: 1 addition & 1 deletion source/sdk/cpp/sync/stream-data-to-atlas.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Sync Data Unidirectionally from a Client Application
and :ref:`authenticate a user <cpp-authenticate-users>`.

.. versionchanged:: 0.2.0 app.login returns std::future instead of std::promise
.. versionchanged:: v0.4.0-preview replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)
.. versionchanged:: v0.4.0-preview Replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)

.. literalinclude:: /examples/generated/cpp/asymmetric-sync.snippet.beta-connect-and-authenticate.cpp
:language: cpp
Expand Down
4 changes: 2 additions & 2 deletions source/sdk/cpp/sync/sync-subscriptions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The setup code for the examples on this page handles these prerequisites:
.. tab:: Current
:tabid: current

.. versionchanged:: v0.4.0-preview replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)
.. versionchanged:: v0.4.0-preview Replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)

.. literalinclude:: /examples/generated/cpp/flexible-sync.snippet.beta-flexible-sync-prerequisites.cpp
:language: cpp
Expand All @@ -50,7 +50,7 @@ The setup code for the examples on this page handles these prerequisites:
.. tab:: Deprecated
:tabid: deprecated

.. versionchanged:: v0.4.0-preview replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)
.. versionchanged:: v0.4.0-preview Replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)

.. literalinclude:: /examples/generated/cpp/flexible-sync.snippet.flexible-sync-prerequisites.cpp
:language: cpp
Expand Down
7 changes: 7 additions & 0 deletions source/sdk/cpp/sync/write-to-synced-realm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
Write Data to a Synced Realm - C++ SDK Preview
==============================================

.. meta::
:keywords: code example

.. facet::
:name: genre
:values: tutorial

.. contents:: On this page
:local:
:backlinks: none
Expand Down
2 changes: 1 addition & 1 deletion source/sdk/cpp/users/authenticate-users.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Log In
------

.. versionchanged:: 0.2.0 Returns std::future instead of std::promise
.. versionchanged:: v0.4.0-preview replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)
.. versionchanged:: v0.4.0-preview Replaces deprecated realm::App(...) with realm::App(const realm::App::configuration&)

.. _cpp-login-anonymous:

Expand Down

0 comments on commit df025ed

Please sign in to comment.