Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Dec 22, 2023
1 parent b706957 commit 5a5cd97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions libs/common/include/launchdarkly/detail/c_binding_helpers.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include <launchdarkly/bindings/c/status.h>
#include <launchdarkly/error.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
#include <boost/json/serialize.hpp>
#include <boost/json/value_from.hpp>

#include <string.h>
#include <cstring>

// NOLINTBEGIN cppcoreguidelines-pro-type-reinterpret-cast

#define TO_ALLFLAGS(ptr) (reinterpret_cast<AllFlagsState*>(ptr))
#define FROM_ALLFLAGS(ptr) (reinterpret_cast<LDAllFlagsState>(ptr))
Expand Down Expand Up @@ -68,3 +70,5 @@ LDAllFlagsState_Map(LDAllFlagsState state) {

return FROM_VALUE(new Value(std::move(map)));
}

// NOLINTEND cppcoreguidelines-pro-type-reinterpret-cast

0 comments on commit 5a5cd97

Please sign in to comment.