Cleanup includes (#519)

This commit is contained in:
KostinPavel
2025-10-13 18:16:14 +02:00
committed by GitHub
parent afc0255579
commit 732e9fe85f
812 changed files with 604 additions and 1897 deletions
+3 -4
View File
@@ -7,13 +7,12 @@
#include <exception>
#include <string>
#include <string_view>
#include <type_traits>
#include "../Bytestring.hpp"
//#include "../Bytestring.hpp"
#include "../Result.hpp"
#include "../Vectorstring.hpp"
//#include "../Vectorstring.hpp"
#include "../always_false.hpp"
#include "../internal/ptr_cast.hpp"
//#include "../internal/ptr_cast.hpp"
namespace rfl {
namespace msgpack {
+5 -11
View File
@@ -3,20 +3,14 @@
#include <msgpack.h>
#include <exception>
#include <map>
#include <sstream>
#include <stdexcept>
#include <string>
#include <string_view>
#include <type_traits>
#include <variant>
#include <vector>
#include "../Box.hpp"
//#include "../Box.hpp"
#include "../Bytestring.hpp"
#include "../Ref.hpp"
#include "../Result.hpp"
//#include "../Ref.hpp"
//#include "../Result.hpp"
#include "../Vectorstring.hpp"
#include "../always_false.hpp"
@@ -65,14 +59,14 @@ class Writer {
template <class T>
OutputVarType add_value_to_array(const T& _var,
OutputArrayType* _parent) const noexcept {
OutputArrayType* /*_parent*/) const noexcept {
return new_value(_var);
}
template <class T>
OutputVarType add_value_to_object(const std::string_view& _name,
const T& _var,
OutputObjectType* _parent) const noexcept {
OutputObjectType* /*_parent*/) const noexcept {
msgpack_pack_str(pk_, _name.size());
msgpack_pack_str_body(pk_, _name.data(), _name.size());
return new_value(_var);
-1
View File
@@ -4,7 +4,6 @@
#include <msgpack.h>
#include <istream>
#include <string>
#include "../Processors.hpp"
#include "../concepts.hpp"
-2
View File
@@ -1,8 +1,6 @@
#ifndef RFL_MSGPACK_SAVE_HPP_
#define RFL_MSGPACK_SAVE_HPP_
#include <fstream>
#include <iostream>
#include <string>
#include "../Result.hpp"
-4
View File
@@ -3,11 +3,7 @@
#include <msgpack.h>
#include <cstdint>
#include <ostream>
#include <sstream>
#include <string>
#include <utility>
#include "../Processors.hpp"
#include "../parsing/Parent.hpp"