Skip to content

Commit b87ff82

Browse files
committed
[FOLD]
1 parent 013e03b commit b87ff82

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

include/boost/rts/brotli/shared_dictionary.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#ifndef BOOST_RTS_BROTLI_SHARED_DICTIONARY_HPP
1111
#define BOOST_RTS_BROTLI_SHARED_DICTIONARY_HPP
1212

13+
#include <boost/rts/detail/config.hpp>
1314
#include <boost/rts/brotli/types.hpp>
1415
#include <boost/rts/polystore_fwd.hpp>
1516

src_brotli/decode.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//
99

1010
#include <boost/rts/brotli/decode.hpp>
11-
#include <boost/rts/context.hpp>
11+
#include <boost/rts/polystore.hpp>
1212

1313
#include <brotli/decode.h>
1414

@@ -24,7 +24,7 @@ class decode_service_impl
2424

2525
explicit
2626
decode_service_impl(
27-
rts::context&) noexcept
27+
rts::polystore&) noexcept
2828
{
2929
}
3030

@@ -178,9 +178,9 @@ class decode_service_impl
178178
};
179179

180180
decode_service&
181-
install_decode_service(context& ctx)
181+
install_decode_service(polystore& ctx)
182182
{
183-
return ctx.make_service<decode_service_impl>();
183+
return ctx.emplace<decode_service_impl>(ctx);
184184
}
185185

186186
} // brotli

src_brotli/encode.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//
99

1010
#include <boost/rts/brotli/encode.hpp>
11-
#include <boost/rts/context.hpp>
11+
#include <boost/rts/polystore.hpp>
1212

1313
#include <brotli/encode.h>
1414

@@ -24,7 +24,7 @@ class encode_service_impl
2424

2525
explicit
2626
encode_service_impl(
27-
rts::context&) noexcept
27+
rts::polystore&) noexcept
2828
{
2929
}
3030

@@ -197,9 +197,9 @@ class encode_service_impl
197197
};
198198

199199
encode_service&
200-
install_encode_service(context& ctx)
200+
install_encode_service(polystore& ctx)
201201
{
202-
return ctx.make_service<encode_service_impl>();
202+
return ctx.emplace<encode_service_impl>(ctx);
203203
}
204204

205205
} // brotli

src_brotli/shared_dictionary.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class shared_dictionary_service_impl
2626

2727
explicit
2828
shared_dictionary_service_impl(
29-
rts::context&) noexcept
29+
rts::polystore&) noexcept
3030
{
3131
}
3232

@@ -74,7 +74,7 @@ class shared_dictionary_service_impl
7474
shared_dictionary_service&
7575
install_shared_dictionary_service(polystore& ctx)
7676
{
77-
return ctx.make_service<shared_dictionary_service_impl>(ctx);
77+
return ctx.emplace<shared_dictionary_service_impl>(ctx);
7878
}
7979

8080
} // brotli

0 commit comments

Comments
 (0)