Skip to content

Commit 8e3697d

Browse files
authored
mat_flush is not published in any header, nor is called anywhere outside of capi.cpp, thus mark the method as static, (#1245)
1 parent 7491e96 commit 8e3697d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/api/capi.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ evt_status_t mat_flushAndTeardown(evt_context_t *ctx)
337337
return STATUS_SUCCESS;
338338
}
339339

340-
evt_status_t mat_flush(evt_context_t *ctx)
340+
static evt_status_t mat_flush(evt_context_t *ctx)
341341
{
342342
VERIFY_CLIENT_HANDLE(client, ctx);
343343
const auto result = static_cast<evt_status_t>(client->logmanager->Flush());

0 commit comments

Comments
 (0)