mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Fixed GCC warnings
This commit is contained in:
parent
8659e0a4f7
commit
e02caab6cc
@ -199,10 +199,10 @@ namespace
|
||||
etl::queue<int, 4> queue;
|
||||
|
||||
queue.push() = 1;
|
||||
CHECK_EQUAL(1, queue.size());
|
||||
CHECK_EQUAL(1U, queue.size());
|
||||
|
||||
queue.push() = 2;
|
||||
CHECK_EQUAL(2, queue.size());
|
||||
CHECK_EQUAL(2U, queue.size());
|
||||
|
||||
CHECK_EQUAL(1, queue.front());
|
||||
|
||||
@ -297,7 +297,7 @@ namespace
|
||||
queue.push(1);
|
||||
queue.push(2);
|
||||
queue.pop();
|
||||
CHECK_EQUAL(1, queue.size());
|
||||
CHECK_EQUAL(1U, queue.size());
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user