Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WorkingChen committed Jan 20, 2025
1 parent fd92026 commit 6f41293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aeron-client/src/main/cpp_wrapper/Context.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class Context
}

/**
* get the directory that the Aeron client will use to communicate with the media driver.
* Get the directory that the Aeron client will use to communicate with the media driver.
*
* @return aeron directory
*/
Expand Down Expand Up @@ -320,7 +320,7 @@ class Context
*/
inline std::string cncFileName() const
{
const std::string dir = aeronDir();
const std::string dir = std::string(aeron_context_get_dir(m_context));
return dir + std::string(1, AERON_FILE_SEP) + CncFileDescriptor::CNC_FILE;
}

Expand Down

0 comments on commit 6f41293

Please sign in to comment.