libreoffice-online/common/DummyTraceEventEmitter.cpp
Ashod Nakashian d57baeb906 wsd: reduce directives for unused variable supression
We use [[maybe_unused]] to reduce explicit supression
especially under compile-time directives.

Change-Id: Ic5f3f3227a80efe52097cb35520d05b9cdaacb42
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-03-09 12:37:19 -05:00

22 lines
765 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
* Copyright the Collabora Online contributors.
*
* SPDX-License-Identifier: MPL-2.0
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// Compile and link this into test and utility executables that need it to link
#include "config.h"
#include <common/TraceEvent.hpp>
void TraceEvent::emitOneRecordingIfEnabled([[maybe_unused]] const std::string& recording) {}
void TraceEvent::emitOneRecording([[maybe_unused]] const std::string& recording) {}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */