Skip to content

Commit

Permalink
Make entropy_error default visible
Browse files Browse the repository at this point in the history
See boostorg/function#24 as to why.
  • Loading branch information
jeking3 committed Oct 25, 2018
1 parent 496c0c8 commit 92cf9dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/boost/uuid/entropy_error.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2017 James E. King III
// Copyright (c) 2017, 2018 James E. King III
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
Expand All @@ -11,6 +11,7 @@
#ifndef BOOST_UUID_RANDOM_ENTROPY_ERROR_HPP
#define BOOST_UUID_RANDOM_ENTROPY_ERROR_HPP

#include <boost/config.hpp>
#include <boost/cstdint.hpp>
#include <stdexcept>
#include <string>
Expand All @@ -21,7 +22,7 @@ namespace uuids {
//! \brief Given boost::system::system_error is in a module that
//! is not header-only, we define our own exception type
//! to handle entropy provider errors instead,
class entropy_error : public std::runtime_error
class BOOST_SYMBOL_VISIBLE entropy_error : public std::runtime_error
{
public:
entropy_error(boost::intmax_t errCode, const std::string& message)
Expand Down

0 comments on commit 92cf9dd

Please sign in to comment.