diff --git a/services/distributeddataservice/framework/utils/constant.cpp b/services/distributeddataservice/framework/utils/constant.cpp index 910f564af3000e3b62909608f1702319cb2d93fa..99bbc3db19a7ac636a6153a3b0be9aa99611311c 100644 --- a/services/distributeddataservice/framework/utils/constant.cpp +++ b/services/distributeddataservice/framework/utils/constant.cpp @@ -85,13 +85,13 @@ const std::string Constant::KEY_SEPARATOR = "###"; std::vector KvStoreMetaRow::GetKeyFor(const std::string &key) { - std::string str = Constant::Concatenate({KvStoreMetaRow::KEY_PREFIX, Constant::KEY_SEPARATOR, key }); + std::string str = Constant::Concatenate({KvStoreMetaRow::KEY_PREFIX, Constant::KEY_SEPARATOR, key}); return std::vector(str.begin(), str.end()); } std::vector SecretMetaRow::GetKeyFor(const std::string &key) { - std::string str = Constant::Concatenate({SecretMetaRow::KEY_PREFIX, Constant::KEY_SEPARATOR, key }); + std::string str = Constant::Concatenate({SecretMetaRow::KEY_PREFIX, Constant::KEY_SEPARATOR, key}); return std::vector(str.begin(), str.end()); }