Skip to content

Commit 4ba14d5

Browse files
committed
Postfix for #8639.
1 parent 06992a9 commit 4ba14d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jrd/ProfilerManager.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,8 +1182,9 @@ void ProfilerListener::processCommand(thread_db* tdbb, ProfilerIpc::Tag tag, UCh
11821182
const string pluginOptions(in->pluginOptions.str,
11831183
in->pluginOptionsNull ? 0 : in->pluginOptions.length);
11841184

1185-
const auto out = reinterpret_cast<ProfilerPackage::StartSessionOutput::Type*>(buffer.begin());
1185+
ProfilerPackage::StartSessionOutput::Type* out;
11861186
buffer.resize(sizeof(*out));
1187+
out = reinterpret_cast<decltype(out)>(buffer.begin());
11871188

11881189
out->sessionIdNull = FB_FALSE;
11891190
out->sessionId = profilerManager->startSession(tdbb, flushInterval,

0 commit comments

Comments
 (0)