about summary refs log tree commit diff stats
path: root/055shape_shifting_container.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-06-17 17:14:15 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-06-17 17:14:15 -0700
commit3c163ef7bd53a0bd22e3376a5472622633b88107 (patch)
tree5f5821e957d16c9f3385132a9f1e37d4bbb40a7a /055shape_shifting_container.cc
parent1e76d01d4abc555e0468738516b8a0ea3ad34fdc (diff)
downloadmu-3c163ef7bd53a0bd22e3376a5472622633b88107.tar.gz
3060
Diffstat (limited to '055shape_shifting_container.cc')
-rw-r--r--055shape_shifting_container.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/055shape_shifting_container.cc b/055shape_shifting_container.cc
index 8bca9dd3..4c481805 100644
--- a/055shape_shifting_container.cc
+++ b/055shape_shifting_container.cc
@@ -507,7 +507,7 @@ void test_replace_middle_type_ingredient_with_multiple3() {
 
 bool has_nth_type(const type_tree* base, int n) {
   assert(n >= 0);
-  if (base == NULL) return false;
+  if (!base) return false;
   if (n == 0) return true;
   return has_nth_type(base->right, n-1);
 }