Skip to content

Commit 4f1838b

Browse files
committed
forever-stack: Use rust_assert instead of assert
This causes complaints by our GCC 4.8 builder. gcc/rust/ChangeLog: * resolve/rust-forever-stack.hxx: assert() -> rust_assert()
1 parent d9e87e7 commit 4f1838b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/rust/resolve/rust-forever-stack.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ template <Namespace N>
8383
void
8484
ForeverStack<N>::pop ()
8585
{
86-
assert (!cursor ().is_root ());
86+
rust_assert (!cursor ().is_root ());
8787

8888
rust_debug ("popping link");
8989

0 commit comments

Comments
 (0)