Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

代码问题 #337

Open
Stefan-Yang93 opened this issue Dec 17, 2023 · 1 comment
Open

代码问题 #337

Stefan-Yang93 opened this issue Dec 17, 2023 · 1 comment

Comments

@Stefan-Yang93
Copy link

bool RegistryKey::isValid() const
{
#if REGISTRYKEY_QWINREGISTRYKEY
return (m_registryKey && m_registryKey->isValid());
#else
return m_settings;
#endif
}
Snipaste_2023-12-17_14-36-25
bool 怎么返回指针呢

@wangwenx190
Copy link
Owner

我记得有隐式转换的,不行你就显式转换一下

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants