summary refs log tree commit diff stats
path: root/lib/part.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-02-10 11:24:21 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-02-10 11:24:21 -0500
commit4208387c4a6b7ecf43d756a8bba96b9cfc5227b9 (patch)
tree30dc35cbd305f0743ca03cae0509ff315d90a012 /lib/part.h
parentf1f67e62cebb4144f0599196263cd93b41fa972e (diff)
downloadverbly-4208387c4a6b7ecf43d756a8bba96b9cfc5227b9.tar.gz
verbly-4208387c4a6b7ecf43d756a8bba96b9cfc5227b9.tar.bz2
verbly-4208387c4a6b7ecf43d756a8bba96b9cfc5227b9.zip
Renamed object validity checks
The bool conversion operator was unfortunately Very Confusing so I've
just renamed the methods to isValid.
Diffstat (limited to 'lib/part.h')
-rw-r--r--lib/part.h2
1 files changed, 1 insertions, 1 deletions
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 {
62 62
63 // General accessors 63 // General accessors
64 64
65 operator bool() const 65 bool isValid() const
66 { 66 {
67 return (type_ != part_type::invalid); 67 return (type_ != part_type::invalid);
68 } 68 }