-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Labels
Description
C++ compiler version: GNU 12.2.0
Hazelcast Cpp client version: 5.1.0
Hazelcast server version: -
Number of the clients: -
Cluster size, i.e. the number of Hazelcast cluster members:
OS version (Windows/Linux/OSX): Linux
Please attach relevant logs and files for client and server side.
Expected behaviour
One of the constructor of near_cache_config class has two parameters. The first parameter was used to assign the cache name into class member _name field via base constructor.
Actual behaviour
However, this constructor takes default class member name instead of parameter. It should be fixed for this class. Solution must be done like below, IMHO.
near_cache_config::near_cache_config(const std::string& cache_name,
in_memory_format memory_format)
: near_cache_config(cache_name)
{
this->in_memory_format_ = memory_format;
}