Skip to content

Commit

Permalink
removed some dead codeo
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Feb 13, 2024
1 parent 43bdc5c commit f53ac24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Advantages:
- No code generator is needed

Disadvantages:
- Compatibility is restricted to in-memory computations, i.e., it is generally not safe to interpret the data in other enviroments and not possible to extend layouts while supporting backward compatibility
- Memory layouts cannot be extended while supporting backward compatibility


## Example
Expand Down
8 changes: 0 additions & 8 deletions include/flatmemory/details/types/bitset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,6 @@ namespace flatmemory
template <typename>
friend class Builder;

static constexpr std::size_t block_size = sizeof(Block) * 8;
static constexpr Block block_zeroes = 0;
static constexpr Block block_ones = Block(-1);

public:
/**
* Constructor to interpret raw data created by its corresponding builder
Expand Down Expand Up @@ -442,10 +438,6 @@ namespace flatmemory
template <typename>
friend class Builder;

static constexpr std::size_t block_size = sizeof(Block) * 8;
static constexpr Block block_zeroes = 0;
static constexpr Block block_ones = Block(-1);

public:
/**
* Constructor to interpret raw data created by its corresponding builder
Expand Down

0 comments on commit f53ac24

Please sign in to comment.