Skip to content

Commit

Permalink
Revert D17488861: constexpr type ids
Browse files Browse the repository at this point in the history
Test Plan: revert-hammer

Differential Revision:
D17488861

Original commit changeset: ce7b059d7c86

fbshipit-source-id: 426fca9abe7122190fc17ac6976bc6bcbd5718df
  • Loading branch information
smessmer authored and facebook-github-bot committed Oct 15, 2019
1 parent 1865f31 commit ef8bcfe
Show file tree
Hide file tree
Showing 9 changed files with 141 additions and 385 deletions.
23 changes: 0 additions & 23 deletions c10/test/util/ConstexprCrc_test.cpp

This file was deleted.

53 changes: 0 additions & 53 deletions c10/test/util/TypeIndex_test.cpp

This file was deleted.

137 changes: 0 additions & 137 deletions c10/util/ConstexprCrc.h

This file was deleted.

4 changes: 2 additions & 2 deletions c10/util/IdWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class IdWrapper {
// Fix this once we don't need GCC 4.8 anymore.
friend constexpr bool operator==(
const concrete_type& lhs,
const concrete_type& rhs) noexcept {
const concrete_type& rhs) {
return lhs.id_ == rhs.id_;
}

Expand All @@ -57,7 +57,7 @@ class IdWrapper {
// Fix this once we don't need GCC 4.8 anymore.
friend constexpr bool operator!=(
const concrete_type& lhs,
const concrete_type& rhs) noexcept {
const concrete_type& rhs) {
return !(lhs == rhs);
}

Expand Down
67 changes: 0 additions & 67 deletions c10/util/TypeIndex.h

This file was deleted.

Loading

0 comments on commit ef8bcfe

Please sign in to comment.