123456789101112131415161718192021222324252627282930313233343536 |
- #ifndef BOOST_FLYWEIGHT_NO_LOCKING_HPP
- #define BOOST_FLYWEIGHT_NO_LOCKING_HPP
- #if defined(_MSC_VER)
- #pragma once
- #endif
- #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
- #include <boost/flyweight/no_locking_fwd.hpp>
- #include <boost/flyweight/locking_tag.hpp>
- namespace boost{
- namespace flyweights{
- struct no_locking:locking_marker
- {
- struct mutex_type{};
- typedef mutex_type lock_type;
- };
- }
- }
- #endif
|