commit | ff9a62713b34295f0e2adb3587d9314d583dd7d9 | [log] [tgz] |
---|---|---|
author | Nick Gordon <nmgordon@memphis.edu> | Thu Oct 12 13:38:29 2017 -0500 |
committer | Nick Gordon <nmgordon@memphis.edu> | Fri Oct 13 16:03:27 2017 -0700 |
tree | e4e30e470d2f5162a2865fdf61bd17034d8d81f8 | |
parent | e18296c270922c61e25ef089ac07133cdb4007de [diff] [blame] |
style: made container APIs more consistent. Change-Id: Ib4feedfc4c9fb497dfcd67e7e6a33ee03db58d7f refs: #4337
diff --git a/src/adjacency-list.cpp b/src/adjacency-list.cpp index eead545..4ceaa82 100644 --- a/src/adjacency-list.cpp +++ b/src/adjacency-list.cpp
@@ -87,7 +87,7 @@ bool AdjacencyList::operator==(AdjacencyList& adl) const { - if (m_adjList.size() != adl.getSize()) { + if (size() != adl.size()) { return false; }