Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang-tidy fixes #23

Merged
merged 3 commits into from
Jan 23, 2024
Merged

Clang-tidy fixes #23

merged 3 commits into from
Jan 23, 2024

Conversation

snnn
Copy link
Member

@snnn snnn commented Jan 22, 2024

No description provided.

@snnn snnn requested a review from RyanUnderhill January 22, 2024 23:44
@@ -50,7 +50,7 @@ Model::Model(std::unique_ptr<Config> config, OrtEnv& ort_env, const ProviderOpti

Model::~Model() = default;

void Model::InitDeviceAllocator(OrtSession& session) {
void Model::InitDeviceAllocator(OrtSession& /*session*/) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this break when USE_CUDA is true?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to maybe unused.

@snnn snnn merged commit a958f1c into main Jan 23, 2024
6 checks passed
@snnn snnn deleted the snnn/fix1 branch January 23, 2024 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants