mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-15 16:03:55 +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(
|
boost::filesystem::path generate_group_endpoint(
|
||||||
std::string group_name,
|
const std::string& group_name,
|
||||||
boost::filesystem::path wine_prefix,
|
const boost::filesystem::path& wine_prefix,
|
||||||
PluginArchitecture architecture) {
|
const PluginArchitecture architecture) {
|
||||||
std::ostringstream socket_name;
|
std::ostringstream socket_name;
|
||||||
socket_name << "yabridge-group-" << group_name << "-"
|
socket_name << "yabridge-group-" << group_name << "-"
|
||||||
<< std::to_string(
|
<< std::to_string(
|
||||||
|
|||||||
+3
-3
@@ -134,9 +134,9 @@ std::optional<boost::filesystem::path> find_wineprefix();
|
|||||||
* above.
|
* above.
|
||||||
*/
|
*/
|
||||||
boost::filesystem::path generate_group_endpoint(
|
boost::filesystem::path generate_group_endpoint(
|
||||||
std::string group_name,
|
const std::string& group_name,
|
||||||
boost::filesystem::path wine_prefix,
|
const boost::filesystem::path& wine_prefix,
|
||||||
PluginArchitecture architecture);
|
const PluginArchitecture architecture);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate a unique name for the Unix domain socket endpoint based on the VST
|
* 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);
|
xcb_window_t get_x11_handle(HWND win32_handle);
|
||||||
ATOM register_window_class(std::string window_class_name);
|
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)) {}
|
: atom(register_window_class(name)) {}
|
||||||
|
|
||||||
WindowClass::~WindowClass() {
|
WindowClass::~WindowClass() {
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ struct Size {
|
|||||||
*/
|
*/
|
||||||
class WindowClass {
|
class WindowClass {
|
||||||
public:
|
public:
|
||||||
WindowClass(std::string name);
|
explicit WindowClass(const std::string& name);
|
||||||
~WindowClass();
|
~WindowClass();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -31,8 +31,7 @@ Win32Timer::~Win32Timer() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Win32Timer::Win32Timer(Win32Timer&& o) {
|
Win32Timer::Win32Timer(Win32Timer&& o) : timer_id(o.timer_id) {
|
||||||
timer_id = o.timer_id;
|
|
||||||
o.timer_id = std::nullopt;
|
o.timer_id = std::nullopt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user