Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing serialize_sequence #1780

Merged
merged 1 commit into from Oct 2, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion hpx/include/serialization.hpp
Expand Up @@ -13,7 +13,6 @@
#include <hpx/runtime/serialization/intrusive_ptr.hpp>
#include <hpx/runtime/serialization/map.hpp>
#include <hpx/runtime/serialization/serialize_buffer.hpp>
#include <hpx/runtime/serialization/serialize_sequence.hpp>
#include <hpx/runtime/serialization/string.hpp>
#include <hpx/runtime/serialization/shared_ptr.hpp>
#include <hpx/runtime/serialization/vector.hpp>
Expand Down
173 changes: 0 additions & 173 deletions hpx/runtime/serialization/serialize_sequence.hpp

This file was deleted.

3 changes: 1 addition & 2 deletions hpx/util/zip_iterator.hpp
Expand Up @@ -12,7 +12,6 @@
#include <hpx/util/detail/pack.hpp>
#include <hpx/util/result_of.hpp>
#include <hpx/util/functional/segmented_iterator_helpers.hpp>
#include <hpx/runtime/serialization/serialize_sequence.hpp>
#include <hpx/runtime/naming/id_type.hpp>

#include <boost/fusion/algorithm/iteration/for_each.hpp>
Expand Down Expand Up @@ -363,7 +362,7 @@ namespace hpx { namespace util
template <typename Archive>
void serialize(Archive& ar, unsigned)
{
serialization::serialize_sequence(ar, iterators_);
ar & iterators_;
}

private:
Expand Down
5 changes: 2 additions & 3 deletions src/runtime/agas/request.cpp
Expand Up @@ -11,7 +11,6 @@
#include <hpx/runtime/agas/request.hpp>
#include <hpx/runtime/actions/action_support.hpp>
#include <hpx/runtime/serialization/serialize.hpp>
#include <hpx/runtime/serialization/serialize_sequence.hpp>
#include <hpx/lcos/base_lco_with_value.hpp>

#include <boost/variant.hpp>
Expand Down Expand Up @@ -672,7 +671,7 @@ namespace hpx { namespace agas
void operator()(Sequence const& seq) const
{
// TODO: verification?
serialization::serialize_sequence(ar, seq);
ar << seq;
}
};

Expand All @@ -692,7 +691,7 @@ namespace hpx { namespace agas
boost::mpl::at_c< \
request_data::data_type::types, n \
>::type d; \
serialization::serialize_sequence(ar, d); \
ar >> d; \
data->data = d; \
return; \
} \
Expand Down
5 changes: 2 additions & 3 deletions src/runtime/agas/response.cpp
Expand Up @@ -18,7 +18,6 @@
#include <hpx/runtime/components/base_lco_factory.hpp>
#include <hpx/runtime/components/component_type.hpp>
#include <hpx/runtime/serialization/serialize.hpp>
#include <hpx/runtime/serialization/serialize_sequence.hpp>
#include <hpx/util/tuple.hpp>

#include <boost/fusion/include/at_c.hpp>
Expand Down Expand Up @@ -585,7 +584,7 @@ namespace hpx { namespace agas
void operator()(Sequence const& seq) const
{
// TODO: verification?
serialization::serialize_sequence(ar, seq);
ar << seq;
}
};

Expand All @@ -606,7 +605,7 @@ namespace hpx { namespace agas
boost::mpl::at_c< \
response_data::data_type::types, n \
>::type d; \
serialization::serialize_sequence(ar, d); \
ar >> d; \
data->data = d; \
return; \
} \
Expand Down
1 change: 0 additions & 1 deletion src/runtime/components/console_logging.cpp
Expand Up @@ -15,7 +15,6 @@
#include <hpx/runtime/actions/continuation.hpp>
#include <hpx/runtime/agas/addressing_service.hpp>
#include <hpx/runtime/applier/apply.hpp>
#include <hpx/runtime/serialization/serialize_sequence.hpp>
#include <hpx/util/reinitializable_static.hpp>

#include <boost/fusion/include/at_c.hpp>
Expand Down
1 change: 0 additions & 1 deletion src/runtime/components/server/console_logging_server.cpp
Expand Up @@ -12,7 +12,6 @@
#include <hpx/util/tuple.hpp>
#include <hpx/runtime/actions/continuation.hpp>
#include <hpx/runtime/components/server/console_logging.hpp>
#include <hpx/runtime/serialization/serialize_sequence.hpp>

#include <hpx/util/logging/format/named_write_fwd.hpp>
#include <hpx/util/logging/format_fwd.hpp>
Expand Down