From 6f41293e8f4f41c3f0d7f489eb7cb5ec446c6663 Mon Sep 17 00:00:00 2001 From: "guoan.chen" Date: Mon, 20 Jan 2025 21:57:51 +0800 Subject: [PATCH] fix --- aeron-client/src/main/cpp_wrapper/Context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aeron-client/src/main/cpp_wrapper/Context.h b/aeron-client/src/main/cpp_wrapper/Context.h index 2c3994a70c..7ea1f07cb7 100644 --- a/aeron-client/src/main/cpp_wrapper/Context.h +++ b/aeron-client/src/main/cpp_wrapper/Context.h @@ -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 */ @@ -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; }