Skip to content

Commit

Permalink
Fixed clang tidy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhaowu committed Jul 17, 2024
1 parent 2fc51d2 commit 60a547f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ endif()

if(${CMAKE_PROJECT_NAME} STREQUAL ${PROJECT_NAME})
if (ENABLE_CLANG_TIDY)
find_program(CLANG_TIDY clang-tidy clang-tidy-17 clang-tidy-16 clang-tidy-15 clang-tidy-14)
find_program(CLANG_TIDY clang-tidy clang-tidy-18 clang-tidy-17 clang-tidy-16 clang-tidy-15 clang-tidy-14)
else()
message(STATUS "Not running clang-tidy. Use ENABLE_CLANG_TIDY=ON to run clang-tidy.")
endif()
Expand Down
2 changes: 1 addition & 1 deletion include/cactus_rt/tracing/trace_aggregator.disabled.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class TraceAggregator {

void DeregisterThreadTracer(const std::shared_ptr<ThreadTracer>& /* tracer */) {}

void Start(){};
void Start() {};

void RequestStop() noexcept {}

Expand Down
1 change: 1 addition & 0 deletions include/cactus_rt/tracing/utils/string_interner.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef CACTUS_TRACING_STRING_INTERNER_H_
#define CACTUS_TRACING_STRING_INTERNER_H_

#include <cstdint>
#include <list>
#include <string>
#include <string_view>
Expand Down

0 comments on commit 60a547f

Please sign in to comment.