diff options
Diffstat (limited to 'boost/units/systems/information/shannon.hpp')
-rw-r--r-- | boost/units/systems/information/shannon.hpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/boost/units/systems/information/shannon.hpp b/boost/units/systems/information/shannon.hpp index a2488fbaf3..e3069c953a 100644 --- a/boost/units/systems/information/shannon.hpp +++ b/boost/units/systems/information/shannon.hpp @@ -7,8 +7,8 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -#ifndef BOOST_UNITS_INFORMATION_SHANNON_HPP -#define BOOST_UNITS_INFORMATION_SHANNON_HPP +#ifndef BOOST_UNITS_SYSTEMS_INFORMATION_SHANNON_HPP_INCLUDED +#define BOOST_UNITS_SYSTEMS_INFORMATION_SHANNON_HPP_INCLUDED #include <boost/units/systems/information/byte.hpp> #include <boost/units/base_units/information/shannon.hpp> @@ -20,11 +20,14 @@ namespace information { namespace hu { namespace shannon { typedef unit<information_dimension, make_system<shannon_base_unit>::type> info; -}} +} // namespace bit +} // namespace hu BOOST_UNITS_STATIC_CONSTANT(shannon, hu::shannon::info); BOOST_UNITS_STATIC_CONSTANT(shannons, hu::shannon::info); -}}} +} // namespace information +} // namespace units +} // namespace boost -#endif +#endif // BOOST_UNITS_SYSTEMS_INFORMATION_SHANNON_HPP_INCLUDED |