100.00% Lines (6/6)
100.00% Functions (2/2)
| TLA | Baseline | Branch | ||||||
|---|---|---|---|---|---|---|---|---|
| Line | Hits | Code | Line | Hits | Code | |||
| 1 | // | 1 | // | |||||
| 2 | // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com) | 2 | // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com) | |||||
| 3 | // | 3 | // | |||||
| 4 | // Distributed under the Boost Software License, Version 1.0. (See accompanying | 4 | // Distributed under the Boost Software License, Version 1.0. (See accompanying | |||||
| 5 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | 5 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |||||
| 6 | // | 6 | // | |||||
| 7 | // Official repository: https://github.com/boostorg/json | 7 | // Official repository: https://github.com/boostorg/json | |||||
| 8 | // | 8 | // | |||||
| 9 | 9 | |||||||
| 10 | #ifndef BOOST_JSON_DETAIL_IMPL_SHARED_RESOURCE_IPP | 10 | #ifndef BOOST_JSON_DETAIL_IMPL_SHARED_RESOURCE_IPP | |||||
| 11 | #define BOOST_JSON_DETAIL_IMPL_SHARED_RESOURCE_IPP | 11 | #define BOOST_JSON_DETAIL_IMPL_SHARED_RESOURCE_IPP | |||||
| 12 | 12 | |||||||
| 13 | #include <boost/json/detail/shared_resource.hpp> | 13 | #include <boost/json/detail/shared_resource.hpp> | |||||
| 14 | 14 | |||||||
| 15 | namespace boost { | 15 | namespace boost { | |||||
| 16 | namespace json { | 16 | namespace json { | |||||
| 17 | namespace detail { | 17 | namespace detail { | |||||
| 18 | 18 | |||||||
| 19 | // these are here so that ~memory_resource | 19 | // these are here so that ~memory_resource | |||||
| 20 | // is emitted in the library instead of | 20 | // is emitted in the library instead of | |||||
| 21 | // the user's TU. | 21 | // the user's TU. | |||||
| 22 | 22 | |||||||
| HITCBC | 23 | 21 | shared_resource:: | 23 | 21 | shared_resource:: | ||
| HITCBC | 24 | 21 | shared_resource() | 24 | 21 | shared_resource() | ||
| 25 | { | 25 | { | |||||
| HITCBC | 26 | 21 | } | 26 | 21 | } | ||
| 27 | 27 | |||||||
| HITCBC | 28 | 21 | shared_resource:: | 28 | 21 | shared_resource:: | ||
| HITCBC | 29 | 21 | ~shared_resource() | 29 | 21 | ~shared_resource() | ||
| 30 | { | 30 | { | |||||
| HITCBC | 31 | 21 | } | 31 | 21 | } | ||
| 32 | 32 | |||||||
| 33 | } // detail | 33 | } // detail | |||||
| 34 | } // namespace json | 34 | } // namespace json | |||||
| 35 | } // namespace boost | 35 | } // namespace boost | |||||
| 36 | 36 | |||||||
| 37 | #endif | 37 | #endif | |||||