Skip to content

Commit

Permalink
delint!
Browse files Browse the repository at this point in the history
  • Loading branch information
refack committed Oct 30, 2018
1 parent bc7d159 commit 2ac5c4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ constexpr uintptr_t OffsetOf(Inner Outer::*field) {
// The helper is for doing safe downcasts from base types to derived types.
template <typename Inner, typename Outer>
class ContainerOfHelper {
public:
public:
ContainerOfHelper(Inner Outer::* field, Inner* pointer)
: pointer_(
reinterpret_cast<Outer*>(
Expand All @@ -203,7 +203,7 @@ class ContainerOfHelper {
constexpr operator TypeName*() const {
return static_cast<TypeName*>(pointer_);
}
private:
private:
Outer* const pointer_;
};

Expand Down

0 comments on commit 2ac5c4c

Please sign in to comment.