Reduce reliance on boost - the easy part

* boost::unordered_map -> std::unordered_map
* BOOST_STATIC_ASSERT/static_assert
* BOOST_FOREACH -> for
* boost::tuple -> std::tuple/g
* boost::math::isnormal -> std::isnormal
* boost::container::set -> std::set
* boost::none -> std::nullopt
* boost::optional -> std::optional
This commit is contained in:
Robin Gareus 2024-10-19 02:23:13 +02:00
parent 168b917730
commit ff95d81612
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
58 changed files with 144 additions and 155 deletions

View file

@ -19,7 +19,7 @@
#ifndef _WIDGETS_FRAME_H_
#define _WIDGETS_FRAME_H_
#include <boost/optional.hpp>
#include <optional>
#include <gtkmm/bin.h>
#include "gtkmm2ext/colors.h"
@ -65,7 +65,7 @@ private:
sigc::connection _parent_style_change;
Glib::RefPtr<Pango::Layout> _layout;
std::string _label_text;
boost::optional<Gdk::Color> _edge_color;
std::optional<Gdk::Color> _edge_color;
GtkRequisition _min_size;
int _border;