Skip to content

Commit

Permalink
Add const for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
kingcrimsontianyu committed Feb 17, 2025
1 parent c2063ff commit 081deb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/compat_mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ CompatModeManager::CompatModeManager(std::string const& file_path,
}

// Check cuFile async API
static bool is_extra_symbol_available = is_stream_api_available();
static bool is_config_path_empty = config_path().empty();
static bool const is_extra_symbol_available = is_stream_api_available();
static bool const is_config_path_empty = config_path().empty();
_is_compat_mode_preferred_for_async =
_is_compat_mode_preferred || !is_extra_symbol_available || is_config_path_empty;
}
Expand Down

0 comments on commit 081deb7

Please sign in to comment.