Change the naming scheme for class field members

I'm not a fan of Hungarian notation, but C++ kind of needs it with its
implicit `this`. And of all the common options for this, I find
suffixing members with an underscore the least offensive one.
This commit is contained in:
Robbert van der Helm
2022-01-01 21:07:17 +01:00
parent e0ab24e645
commit 0b9a16cf40
169 changed files with 2448 additions and 2405 deletions
@@ -125,15 +125,15 @@ class YaPluginFactory3 : public Steinberg::IPluginFactory3 {
YaPluginFactory3(ConstructArgs&& args) noexcept;
inline bool supports_plugin_factory() const noexcept {
return arguments.supports_plugin_factory;
return arguments_.supports_plugin_factory;
}
inline bool supports_plugin_factory_2() const noexcept {
return arguments.supports_plugin_factory_2;
return arguments_.supports_plugin_factory_2;
}
inline bool supports_plugin_factory_3() const noexcept {
return arguments.supports_plugin_factory_3;
return arguments_.supports_plugin_factory_3;
}
// All of these functiosn returning class information are fetched once on
@@ -182,7 +182,7 @@ class YaPluginFactory3 : public Steinberg::IPluginFactory3 {
setHostContext(Steinberg::FUnknown* context) override = 0;
protected:
ConstructArgs arguments;
ConstructArgs arguments_;
};
#pragma GCC diagnostic pop