Skip to content

Commit

Permalink
Merge 0918038 into b313f19
Browse files Browse the repository at this point in the history
  • Loading branch information
toxeus committed Sep 12, 2018
2 parents b313f19 + 0918038 commit 4b06c9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/bitcoin/bitcoin/config/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ typedef boost::program_options::positional_options_description

namespace config {

#define PROPERTY(type, property) \
value<type>()->notifier([&](type value) { property(value); })

/// Parse configurable values from environment variables, settings file, and
/// command line positional and non-positional options.
class BC_API parser
Expand Down

0 comments on commit 4b06c9a

Please sign in to comment.