Skip to content

Commit 2887f9c

Browse files
committed
Fix style for "&" in function parameters
1 parent a4543c6 commit 2887f9c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

adoc/chapters/programming_interface.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ The context has the asynchronous error handler [code]#asyncHandler#.
12961296
.[apititle]#Constructor with platform#
12971297
[source,role=synopsis,id=api:context-ctor-platform]
12981298
----
1299-
explicit context(const platform &plt, const property_list &propList = {})
1299+
explicit context(const platform& plt, const property_list& propList = {})
13001300
----
13011301

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

13181318
_Effects:_ Constructs a [code]#context# object that contains all of the devices

adoc/headers/context.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ class context {
1414
explicit context(const device& dev, async_handler asyncHandler,
1515
const property_list& propList = {});
1616

17-
explicit context(const platform &plt, const property_list &propList = {});
17+
explicit context(const platform& plt, const property_list& propList = {});
1818

19-
explicit context(const platform &plt, async_handler asyncHandler,
20-
const property_list &propList = {});
19+
explicit context(const platform& plt, async_handler asyncHandler,
20+
const property_list& propList = {});
2121

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

0 commit comments

Comments
 (0)