mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
clang-tidy string init
This commit is contained in:
parent
9c26cd5552
commit
7388bb4aa7
@ -218,7 +218,7 @@ template <typename T> class SharedMemory {
|
||||
std::string ConstructSharedMemoryName(int multiId, int slsId) {
|
||||
|
||||
// using environment path
|
||||
std::string sEnvPath = "";
|
||||
std::string sEnvPath;
|
||||
char *envpath = getenv(SHM_ENV_NAME);
|
||||
if (envpath != nullptr) {
|
||||
sEnvPath.assign(envpath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user