Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Jesus committed Aug 25, 2024
1 parent d24cd7b commit 1616588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pagoda/common/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ PluginRegistry::GetPluginLoadDirectories() const {
void PluginRegistry::AppendPluginLoadDirectory(
const std::filesystem::path &path) {
if (!std::filesystem::is_directory(path)) {
LOG_ERROR("Path " << path.c_str() << " is not a directory.");
LOG_ERROR("Path " << path << " is not a directory.");
return;
}
if (HasPluginLoadDirectory(path)) {
Expand All @@ -160,7 +160,7 @@ bool PluginRegistry::HasPluginLoadDirectory(const std::filesystem::path &path) {
void PluginRegistry::PrependPluginLoadDirectory(
const std::filesystem::path &path) {
if (!std::filesystem::is_directory(path)) {
LOG_ERROR("Path " << path.c_str() << " is not a directory.");
LOG_ERROR("Path " << path << " is not a directory.");
return;
}
if (HasPluginLoadDirectory(path)) {
Expand Down

0 comments on commit 1616588

Please sign in to comment.