]> gitweb.factorcode.org Git - factor.git/commitdiff
VM: Refactor booleans.hpp to Factor style
authorErik Charlebois <erikcharlebois@gmail.com>
Sun, 12 May 2013 01:45:20 +0000 (21:45 -0400)
committerErik Charlebois <erikcharlebois@gmail.com>
Sun, 12 May 2013 17:24:41 +0000 (13:24 -0400)
vm/booleans.hpp

index 55fea6c1933122354a2baf6acf9d18b99db2a308..e6e3eab1ead8367f4a8b0cd4369efe4c39657a3f 100644 (file)
@@ -1,10 +1,6 @@
-namespace factor
-{
+namespace factor {
 
 /* Cannot allocate */
-inline static bool to_boolean(cell value)
-{
-       return value != false_object;
-}
+inline static bool to_boolean(cell value) { return value != false_object; }
 
 }