Skip to content
Snippets Groups Projects
Commit 4cc7b1c5 authored by Shawn Pearce's avatar Shawn Pearce
Browse files

ObjectIdSubclassMap: Add isEmpty() method


This class behaves like a cross between a Set and a Map, sometimes
we might expect to use the method isEmpty() to test for size() == 0.
So implement it, reducing the surprise folks get when they are given
one of these objects.

Change-Id: I0d68e1243da8e62edf79c6ba4fd925f643e80a88
Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
parent 06ee913c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment