Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
ayylol committed Nov 19, 2024
1 parent ad6e35d commit 2c77d17
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions xpti/include/xpti/xpti_trace_framework.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ class SpinLock {
struct finally {
std::function<void()> MFunc;

finally(const finally&) = default;
finally& operator=(const finally&) = default;
finally(const finally &) = default;
finally &operator=(const finally &) = default;
~finally() {
if (xptiTraceEnabled())
MFunc();
Expand Down Expand Up @@ -667,8 +667,8 @@ class stash_tuple {

// Copy and copy assignment are deleted since we dont want to stash the same
// key-value pair multiple times
stash_tuple(const stash_tuple&) = delete;
stash_tuple& operator=(const stash_tuple&) = delete;
stash_tuple(const stash_tuple &) = delete;
stash_tuple &operator=(const stash_tuple &) = delete;

/// @brief Destroys the stash_tuple object and unstashes the key-value pair if
/// it was stashed successfully earlier.
Expand Down Expand Up @@ -1624,7 +1624,7 @@ class tracepoint_t {
}

tracepoint_t(const tracepoint_t &) = delete;
tracepoint_t& operator=(const tracepoint_t &) = delete;
tracepoint_t &operator=(const tracepoint_t &) = delete;

~tracepoint_t() {
// If tracing is not enabled, don't do anything
Expand Down

0 comments on commit 2c77d17

Please sign in to comment.