mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
Add missing type qualifiers
This commit is contained in:
@@ -165,9 +165,9 @@ fs::path find_vst_plugin() {
|
||||
}
|
||||
|
||||
boost::filesystem::path generate_group_endpoint(
|
||||
std::string group_name,
|
||||
boost::filesystem::path wine_prefix,
|
||||
PluginArchitecture architecture) {
|
||||
const std::string& group_name,
|
||||
const boost::filesystem::path& wine_prefix,
|
||||
const PluginArchitecture architecture) {
|
||||
std::ostringstream socket_name;
|
||||
socket_name << "yabridge-group-" << group_name << "-"
|
||||
<< std::to_string(
|
||||
|
||||
+3
-3
@@ -134,9 +134,9 @@ std::optional<boost::filesystem::path> find_wineprefix();
|
||||
* above.
|
||||
*/
|
||||
boost::filesystem::path generate_group_endpoint(
|
||||
std::string group_name,
|
||||
boost::filesystem::path wine_prefix,
|
||||
PluginArchitecture architecture);
|
||||
const std::string& group_name,
|
||||
const boost::filesystem::path& wine_prefix,
|
||||
const PluginArchitecture architecture);
|
||||
|
||||
/**
|
||||
* Generate a unique name for the Unix domain socket endpoint based on the VST
|
||||
|
||||
@@ -48,7 +48,7 @@ Size get_maximum_screen_dimensions(xcb_connection_t& x11_connection);
|
||||
xcb_window_t get_x11_handle(HWND win32_handle);
|
||||
ATOM register_window_class(std::string window_class_name);
|
||||
|
||||
WindowClass::WindowClass(std::string name)
|
||||
WindowClass::WindowClass(const std::string& name)
|
||||
: atom(register_window_class(name)) {}
|
||||
|
||||
WindowClass::~WindowClass() {
|
||||
|
||||
@@ -48,7 +48,7 @@ struct Size {
|
||||
*/
|
||||
class WindowClass {
|
||||
public:
|
||||
WindowClass(std::string name);
|
||||
explicit WindowClass(const std::string& name);
|
||||
~WindowClass();
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,8 +31,7 @@ Win32Timer::~Win32Timer() {
|
||||
}
|
||||
}
|
||||
|
||||
Win32Timer::Win32Timer(Win32Timer&& o) {
|
||||
timer_id = o.timer_id;
|
||||
Win32Timer::Win32Timer(Win32Timer&& o) : timer_id(o.timer_id) {
|
||||
o.timer_id = std::nullopt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user