Skip to content

Commit

Permalink
Code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed May 18, 2021
1 parent 8e1fed6 commit c494012
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion inference-engine/include/cpp/ie_executable_network.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class IExecutableNetwork;
* @brief This is an interface of an executable network
*/
class INFERENCE_ENGINE_API_CLASS(ExecutableNetwork) {
std::shared_ptr<IExecutableNetworkInternal> _impl;
details::SharedObjectLoader _so;
std::shared_ptr<IExecutableNetworkInternal> _impl;

/**
* @brief Constructs ExecutableNetwork from the initialized std::shared_ptr
Expand Down
2 changes: 1 addition & 1 deletion inference-engine/include/cpp/ie_infer_request.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class IInferRequestInternal;
* It can throw exceptions safely for the application, where it is properly handled.
*/
class INFERENCE_ENGINE_API_CLASS(InferRequest) {
std::shared_ptr<IInferRequestInternal> _impl;
details::SharedObjectLoader _so;
std::shared_ptr<IInferRequestInternal> _impl;

/**
* @brief Constructs InferRequest from the initialized std::shared_ptr
Expand Down
2 changes: 1 addition & 1 deletion inference-engine/include/cpp/ie_memory_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class IVariableStateInternal;
* @brief C++ exception based error reporting wrapper of API class IVariableState
*/
class INFERENCE_ENGINE_API_CLASS(VariableState) {
std::shared_ptr<IVariableStateInternal> _impl;
details::SharedObjectLoader _so;
std::shared_ptr<IVariableStateInternal> _impl;

/**
* @brief Constructs VariableState from the initialized std::shared_ptr
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace InferenceEngine {

ExecutableNetwork::ExecutableNetwork(const details::SharedObjectLoader& so,
const IExecutableNetworkInternal::Ptr& impl)
: _impl(impl), _so(so) {
: _so(so), _impl(impl) {
IE_ASSERT(_impl != nullptr);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace InferenceEngine {

InferRequest::InferRequest(const details::SharedObjectLoader& so,
const IInferRequestInternal::Ptr& impl)
: _impl(impl), _so(so) {
: _so(so), _impl(impl) {
IE_ASSERT(_impl != nullptr);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace InferenceEngine {

VariableState::VariableState(const details::SharedObjectLoader& so,
const IVariableStateInternal::Ptr& impl)
: _impl(impl), _so(so) {
: _so(so), _impl(impl) {
IE_ASSERT(_impl != nullptr);
}

Expand Down

0 comments on commit c494012

Please sign in to comment.