cmuparlay / flit

MIT License
3 stars 1 forks source link

Linker error due to multiple instances of variable disable_flushes #2

Closed wgolab closed 1 month ago

wgolab commented 2 months ago

The global variable [disable_flushes[(https://github.com/cmuparlay/flit/blob/main/include/persist/pmem_utils.hpp#L21) is defined in a header file. This causes a linker error if the header is included from multiple cpp files.

Hao-Wei commented 1 month ago

Removed disable_flushes as it was not needed anywhere.