Skip to content

Commit 1268611

Browse files
refactor: Remove redundant error policy from compatible_i64 declaration
Signed-off-by: FrozenlemonTee <1115306170@qq.com>
1 parent 490c869 commit 1268611

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

examples/ex02_type_policy.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ int main() {
5454
operations::Addition,
5555
primitive<int, policy::value::checked, policy::type::compatible,
5656
policy::error::expected>,
57-
compatible_i64,
58-
policy::error::kind>;
57+
compatible_i64>;
5958

6059
static_assert(
6160
std::is_same_v<typename compatible_meta::common_rep, long long>);

0 commit comments

Comments
 (0)