Files
Waybar/include/modules
Felix Glinka c4d769a586 Add explicit constructor to struct Profile
Not adding the constructor causes a compilation error on Ubuntu 22.04
with both clang 14 and gcc 11:

/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/alloc_traits.h:518:4: error: no matching function for call to 'construct_at'
          std::construct_at(__p, std::forward<_Args>(__args)...);
          ^~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/vector.tcc:117:21: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<waybar::modules::Profile>>::construct<waybar::modules::Profile, Glib::ustring, Glib::ustring>' requested here
            _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
                           ^
../src/modules/power_profiles_daemon.cpp:106:26: note: in instantiation of function template specialization 'std::vector<waybar::modules::Profile>::emplace_back<Glib::ustring, Glib::ustring>' requested here
      availableProfiles_.emplace_back(std::move(name), std::move(driver));
                         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_construct.h:94:5: note: candidate template ignored: substitution failure [with _Tp = waybar::modules::Profile, _Args = <Glib::ustring, Glib::ustring>]: no matching constructor for initialization of 'waybar::modules::Profile'
    construct_at(_Tp* __location, _Args&&... __args)
    ^
2024-06-21 15:32:04 +02:00
..
2023-07-04 23:05:26 +02:00
2023-03-02 16:57:32 +03:00
2023-10-15 17:52:12 -03:00
2023-10-31 23:31:58 +03:00
2024-06-15 18:44:46 -05:00
2023-10-17 19:29:06 +02:00
2024-02-19 23:10:10 +01:00
2023-03-02 16:57:32 +03:00
2023-03-02 16:57:32 +03:00
2023-04-21 16:38:21 +08:00
2023-03-02 16:57:32 +03:00
2023-03-02 16:57:32 +03:00
2023-10-17 19:29:06 +02:00
2023-03-02 16:57:32 +03:00
2023-07-01 11:08:31 +02:00
2023-03-02 16:57:32 +03:00
2023-03-02 16:57:32 +03:00
2024-02-12 20:09:22 +01:00
2023-03-02 16:57:32 +03:00
2024-05-10 00:00:47 +03:00
2023-03-02 16:57:32 +03:00
2024-03-21 13:37:03 +13:00