2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-01-19 04:22:08 +00:00

error constructor -> new_error

This commit is contained in:
Emil Dotchevski
2019-01-10 09:29:48 -08:00
parent b1da5131ea
commit a16600a989
31 changed files with 89 additions and 101 deletions

View File

@@ -17,12 +17,12 @@ struct info
leaf::error f12()
{
return leaf::error( info<1>{1}, info<2>{2} );
return leaf::new_error( info<1>{1}, info<2>{2} );
}
leaf::error f34()
{
return leaf::error( info<3>{3}, info<4>{4} );
return leaf::new_error( info<3>{3}, info<4>{4} );
}
int main()