Skip to content

Commit 26ac087

Browse files
committed
Fix g++ error
1 parent 9390834 commit 26ac087

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/host/gtk3/window.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ namespace cycfi::elements
3939
return gdk_window_get_scale_factor(gdk_win);
4040
}
4141

42-
window::window(std::string const& name, int style_, rect const& bounds)
43-
: _window(new host_window)
42+
window::window(std::string const& name, int /*style_*/, rect const& bounds)
43+
: _window(new host_window)
4444
{
4545
// Chicken and egg. GTK wants us to create windows only
4646
// after the app is activated. So we have a scheme to

lib/include/elements/element/gallery/button.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ namespace cycfi::elements
286286
using direction_t = default_button_styler::direction;
287287
constexpr static bool has_default_corner_radius = false;
288288

289-
button_styler_rounded_half_default(Base base)
290-
: Base(std::move(base))
289+
button_styler_rounded_half_default(Base const& base)
290+
: Base(base)
291291
{}
292292

293293
virtual float get_corner_radius_top_left() const override;

0 commit comments

Comments
 (0)