From 4208387c4a6b7ecf43d756a8bba96b9cfc5227b9 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 10 Feb 2017 11:24:21 -0500 Subject: Renamed object validity checks The bool conversion operator was unfortunately Very Confusing so I've just renamed the methods to isValid. --- lib/part.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/part.h') diff --git a/lib/part.h b/lib/part.h index 450db3d..456bad0 100644 --- a/lib/part.h +++ b/lib/part.h @@ -62,7 +62,7 @@ namespace verbly { // General accessors - operator bool() const + bool isValid() const { return (type_ != part_type::invalid); } -- cgit 1.4.1