Skip to content

Commit

Permalink
[EN-7587] Implement FetchDailyCandles sample
Browse files Browse the repository at this point in the history
IsolatedDXFeedSubscription
  • Loading branch information
ttldtor committed Jun 9, 2024
1 parent b590882 commit 70eb5e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/dxfeed_graal_cpp_api/api/DXFeedSubscription.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class DXFCPP_EXPORT DXFeedSubscription : public RequireMakeShared<DXFeedSubscrip
Debugger::debug("DXFeedSubscription(eventTypes = " + namesToString(begin, end) + ")");
}

eventTypes_ = {begin, end};
eventTypes_ = std::unordered_set{begin, end};

auto list = EventClassList::create(eventTypes_.begin(), eventTypes_.end());

Expand Down
2 changes: 1 addition & 1 deletion src/api/DXFeedSubscription.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ DXFeedSubscription::DXFeedSubscription(LockExternalConstructionTag tag, const Ev
Debugger::debug("DXFeedSubscription(eventType = " + eventType.getName() + ")");
}

eventTypes_ = {eventType};
eventTypes_ = std::unordered_set{eventType};
handle_ = isolated::api::IsolatedDXFeedSubscription::create(eventType);
}

Expand Down

0 comments on commit 70eb5e6

Please sign in to comment.