Skip to content

Commit

Permalink
Remove default argument value
Browse files Browse the repository at this point in the history
  • Loading branch information
riverlijunjie committed Jan 16, 2024
1 parent 4e3aa20 commit 8dbd382
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/plugins/hetero/src/compiled_model.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CompiledModel : public ov::ICompiledModel {
CompiledModel(std::istream& model,
const std::shared_ptr<const ov::IPlugin>& plugin,
const Configuration& cfg,
const bool loaded_from_cache = false);
const bool loaded_from_cache);

void export_model(std::ostream& model) const override;

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/src/compiled_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CompiledModel : public ov::ICompiledModel {
CompiledModel(const std::shared_ptr<ov::Model>& model,
const std::shared_ptr<const ov::IPlugin>& plugin,
const Config& cfg,
const bool loaded_from_cache = false);
const bool loaded_from_cache);

std::shared_ptr<ov::IAsyncInferRequest> create_infer_request() const override;

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/src/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ Engine::compile_model(const std::shared_ptr<const ov::Model>& model, const ov::A
denormals_as_zero(false);
}
}
return std::make_shared<CompiledModel>(cloned_model, shared_from_this(), conf);
return std::make_shared<CompiledModel>(cloned_model, shared_from_this(), conf, false);
}

void Engine::set_property(const ov::AnyMap &config) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class CompiledModel : public ov::ICompiledModel {
const std::shared_ptr<const ov::IPlugin>& plugin,
RemoteContextImpl::Ptr context,
const ExecutionConfig& config,
const bool loaded_from_cache = false);
const bool loaded_from_cache);

std::shared_ptr<ov::IAsyncInferRequest> create_infer_request() const override;
std::shared_ptr<ov::ISyncInferRequest> create_sync_infer_request() const override;
Expand Down

0 comments on commit 8dbd382

Please sign in to comment.