Skip to content

Commit 9944cf1

Browse files
Add CORE_API macro for TaskContext and PendingRequests
Add exports for classes to fix Windows exports in dynamic libraries. Resolves: OLPEDGE-1159 Signed-off-by: Diachenko Mykahilo <[email protected]>
1 parent 72ba54b commit 9944cf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

olp-cpp-sdk-core/include/olp/core/client/PendingRequests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace client {
3434
/**
3535
* @brief Container for not yet finished requests.
3636
*/
37-
class PendingRequests final {
37+
class CORE_API PendingRequests final {
3838
public:
3939
/**
4040
* @brief Cancels all pending tasks

olp-cpp-sdk-core/include/olp/core/client/TaskContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace client {
3737
* result of provided task became available or error occurs, callback is
3838
* invoked.
3939
*/
40-
class TaskContext {
40+
class CORE_API TaskContext {
4141
public:
4242
/**
4343
* @brief Constructs TaskContext with provided task and callback.

0 commit comments

Comments
 (0)