File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -203,11 +203,11 @@ using enable_if_not = typename std::enable_if<!Predicate::value>::type*;
203
203
template <typename T>
204
204
#ifdef USE_BTCPP3_OLD_NAMES
205
205
using Optional = nonstd::expected<T, std::string>;
206
+ // note: we use the name Optional instead of expected because it is more intuitive
207
+ // for users that are not up to date with "modern" C++
206
208
#else
207
209
using Expected = nonstd::expected<T, std::string>;
208
210
#endif
209
- // note: we use the name Optional instead of expected because it is more intuitive
210
- // for users that are not up to date with "modern" C++
211
211
212
212
/* * Usage: given a function/method like:
213
213
*
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ struct NodeConfig
79
79
80
80
#ifdef USE_BTCPP3_OLD_NAMES
81
81
// back compatibility
82
- using NodeConfig = NodeConfig;
82
+ using NodeConfiguration = NodeConfig;
83
83
#endif
84
84
85
85
template <typename T>
You can’t perform that action at this time.
0 commit comments