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
@@ -61,7 +61,7 @@ class YaContextMenu : public Steinberg::Vst::IContextMenu {
*/
YaContextMenu(ConstructArgs&& args) noexcept;
inline bool supported() const noexcept { return arguments.supported; }
inline bool supported() const noexcept { return arguments_.supported; }
/**
* Message to pass through a call to `IContextMenu::getItemCount()` to the
@@ -179,7 +179,7 @@ class YaContextMenu : public Steinberg::Vst::IContextMenu {
Steinberg::UCoord y) override = 0;
protected:
ConstructArgs arguments;
ConstructArgs arguments_;
};
#pragma GCC diagnostic pop