mirror of
https://github.com/USCiLab/cereal.git
synced 2025-10-18 01:45:52 +02:00
unit tests for priority_queue, fixed bug in priority_queue
This commit is contained in:
@@ -68,7 +68,7 @@ namespace cereal
|
||||
{
|
||||
C container;
|
||||
ar & container;
|
||||
priority_queue = std::priority_queue<T, C, Comp>( std::move( container ) );
|
||||
priority_queue = std::priority_queue<T, C, Comp>( container.begin(), container.end() );
|
||||
}
|
||||
} // namespace cereal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user