define token_metadata_ptr in token_metadata_fwd.hh So that the declaration of `make_splitter` can be moved to token_range_splitter.hh, where it belongs, and so token_metadata.hh won't have to include it. Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
20 lines
378 B
C++
20 lines
378 B
C++
/*
|
|
* Copyright (C) 2023-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0)
|
|
*/
|
|
|
|
#include <seastar/core/shared_ptr.hh>
|
|
#include "seastarx.hh"
|
|
|
|
namespace locator {
|
|
|
|
class token_metadata;
|
|
|
|
using token_metadata_ptr = lw_shared_ptr<const token_metadata>;
|
|
using mutable_token_metadata_ptr = lw_shared_ptr<token_metadata>;
|
|
|
|
} // namespace locator
|