mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-15 07:53:55 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user