summaryrefslogtreecommitdiff
path: root/boost/date_time/gregorian/greg_day.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/date_time/gregorian/greg_day.hpp')
-rw-r--r--boost/date_time/gregorian/greg_day.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/boost/date_time/gregorian/greg_day.hpp b/boost/date_time/gregorian/greg_day.hpp
index 4a2d5e7e46..8cadc6c7e5 100644
--- a/boost/date_time/gregorian/greg_day.hpp
+++ b/boost/date_time/gregorian/greg_day.hpp
@@ -9,7 +9,8 @@
* $Date$
*/
-#include "boost/date_time/constrained_value.hpp"
+#include <boost/date_time/constrained_value.hpp>
+#include <boost/date_time/compiler_config.hpp>
#include <stdexcept>
#include <string>
@@ -17,7 +18,7 @@ namespace boost {
namespace gregorian {
//! Exception type for gregorian day of month (1..31)
- struct bad_day_of_month : public std::out_of_range
+ struct BOOST_SYMBOL_VISIBLE bad_day_of_month : public std::out_of_range
{
bad_day_of_month() :
std::out_of_range(std::string("Day of month value is out of range 1..31"))
@@ -39,7 +40,7 @@ namespace gregorian {
is automatically range checked so values outside of the range 1-31
will cause a bad_day_of_month exception
*/
- class greg_day : public greg_day_rep {
+ class BOOST_SYMBOL_VISIBLE greg_day : public greg_day_rep {
public:
greg_day(unsigned short day_of_month) : greg_day_rep(day_of_month) {}
unsigned short as_number() const {return value_;}