mirror of
https://gitee.com/openharmony/arkcompiler_runtime_core
synced 2024-11-23 14:50:51 +00:00
Fix fossbot warnings
Description: Fix fossbot warnings in runtime.h Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5II5N Test: Compiling & UT Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
This commit is contained in:
parent
4e3c78d612
commit
2ac82110d9
@ -218,34 +218,6 @@ public:
|
|||||||
// Returns true if profile saving is enabled.
|
// Returns true if profile saving is enabled.
|
||||||
bool SaveProfileInfo() const;
|
bool SaveProfileInfo() const;
|
||||||
|
|
||||||
const std::string &GetProcessPackageName() const
|
|
||||||
{
|
|
||||||
return process_package_name_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SetProcessPackageName(const char *package_name)
|
|
||||||
{
|
|
||||||
if (package_name == nullptr) {
|
|
||||||
process_package_name_.clear();
|
|
||||||
} else {
|
|
||||||
process_package_name_ = package_name;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const std::string &GetProcessDataDirectory() const
|
|
||||||
{
|
|
||||||
return process_data_directory_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SetProcessDataDirectory(const char *data_dir)
|
|
||||||
{
|
|
||||||
if (data_dir == nullptr) {
|
|
||||||
process_data_directory_.clear();
|
|
||||||
} else {
|
|
||||||
process_data_directory_ = data_dir;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetPandaPath()
|
std::string GetPandaPath()
|
||||||
{
|
{
|
||||||
return panda_path_string_;
|
return panda_path_string_;
|
||||||
@ -473,10 +445,6 @@ private:
|
|||||||
os::memory::Mutex debug_session_uniqueness_mutex_ {};
|
os::memory::Mutex debug_session_uniqueness_mutex_ {};
|
||||||
DebugSessionHandle debug_session_ {};
|
DebugSessionHandle debug_session_ {};
|
||||||
|
|
||||||
// Additional VMInfo
|
|
||||||
std::string process_package_name_;
|
|
||||||
std::string process_data_directory_;
|
|
||||||
|
|
||||||
// For saving class path.
|
// For saving class path.
|
||||||
std::string panda_path_string_;
|
std::string panda_path_string_;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user