Skip to content

Commit

Permalink
Fix style for "&" in function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlueck committed Jan 9, 2025
1 parent a4543c6 commit 2887f9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ The context has the asynchronous error handler [code]#asyncHandler#.
.[apititle]#Constructor with platform#
[source,role=synopsis,id=api:context-ctor-platform]
----
explicit context(const platform &plt, const property_list &propList = {})
explicit context(const platform& plt, const property_list& propList = {})
----

_Effects:_ Constructs a [code]#context# object that contains all of the devices
Expand All @@ -1311,8 +1311,8 @@ platform [code]#plt# contains no devices.
.[apititle]#Constructor with platform and async handler#
[source,role=synopsis,id=api:context-ctor-platform-async-handler]
----
explicit context(const platform &plt, async_handler asyncHandler,
const property_list &propList = {})
explicit context(const platform& plt, async_handler asyncHandler,
const property_list& propList = {})
----

_Effects:_ Constructs a [code]#context# object that contains all of the devices
Expand Down
6 changes: 3 additions & 3 deletions adoc/headers/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ class context {
explicit context(const device& dev, async_handler asyncHandler,
const property_list& propList = {});

explicit context(const platform &plt, const property_list &propList = {});
explicit context(const platform& plt, const property_list& propList = {});

explicit context(const platform &plt, async_handler asyncHandler,
const property_list &propList = {});
explicit context(const platform& plt, async_handler asyncHandler,
const property_list& propList = {});

explicit context(const std::vector<device>& deviceList,
const property_list& propList = {});
Expand Down

0 comments on commit 2887f9c

Please sign in to comment.