Skip to content

Commit 1616588

Browse files
author
Diego Jesus
committed
fixup
1 parent d24cd7b commit 1616588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pagoda/common/plugin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ PluginRegistry::GetPluginLoadDirectories() const {
140140
void PluginRegistry::AppendPluginLoadDirectory(
141141
const std::filesystem::path &path) {
142142
if (!std::filesystem::is_directory(path)) {
143-
LOG_ERROR("Path " << path.c_str() << " is not a directory.");
143+
LOG_ERROR("Path " << path << " is not a directory.");
144144
return;
145145
}
146146
if (HasPluginLoadDirectory(path)) {
@@ -160,7 +160,7 @@ bool PluginRegistry::HasPluginLoadDirectory(const std::filesystem::path &path) {
160160
void PluginRegistry::PrependPluginLoadDirectory(
161161
const std::filesystem::path &path) {
162162
if (!std::filesystem::is_directory(path)) {
163-
LOG_ERROR("Path " << path.c_str() << " is not a directory.");
163+
LOG_ERROR("Path " << path << " is not a directory.");
164164
return;
165165
}
166166
if (HasPluginLoadDirectory(path)) {

0 commit comments

Comments
 (0)