mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-01 21:55:50 +00:00
We can do with a forward declaration instead to reduce the dependency, and include reader_concurrency_semaphore.hh in test/lib/reader_permit.cc instead. We need to include "../../reader_permit.hh" to get the definition of class reader_permit. We need the include path to prevent recursive include (or rename test/lib/reader_permit.hh but this creates a lot of code churn). Signed-off-by: Benny Halevy <bhalevy@scylladb.com> Message-Id: <20210204122002.1041808-1-bhalevy@scylladb.com>