changeset 26775:2d65d46c620b

* ov-classdef.h: Style fixes.
author John W. Eaton <jwe@octave.org>
date Fri, 22 Feb 2019 16:39:52 +0000
parents 568c2ab2782d
children 7cdb2b29a1ee
files libinterp/octave-value/ov-classdef.h
diffstat 1 files changed, 11 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/octave-value/ov-classdef.h	Fri Feb 22 16:02:09 2019 +0000
+++ b/libinterp/octave-value/ov-classdef.h	Fri Feb 22 16:39:52 2019 +0000
@@ -57,10 +57,14 @@
   ~octave_classdef (void) = default;
 
   octave_base_value * clone (void) const
-  { return new octave_classdef (object.clone ()); }
+  {
+    return new octave_classdef (object.clone ());
+  }
 
   octave_base_value * empty_clone (void) const
-  { return new octave_classdef (object.empty_clone ()); }
+  {
+    return new octave_classdef (object.empty_clone ());
+  }
 
   octave_classdef * classdef_object_value (bool = false) { return this; }
 
@@ -132,6 +136,7 @@
   static octave_value metaclass_query (const std::string& cls);
 
 public:
+
   int type_id (void) const { return t_id; }
   std::string type_name (void) const { return t_name; }
   std::string class_name (void) const { return object.class_name (); }
@@ -155,15 +160,16 @@
 class octave_classdef_meta : public octave_function
 {
 public:
+
   octave_classdef_meta (const octave::cdef_meta_object& obj)
-    : object (obj) { }
+    : object (obj)
+  { }
 
   octave_classdef_meta (const octave_classdef_meta&) = delete;
 
   octave_classdef_meta& operator = (const octave_classdef_meta&) = delete;
 
-  ~octave_classdef_meta (void)
-  { object.meta_release (); }
+  ~octave_classdef_meta (void) { object.meta_release (); }
 
   bool is_classdef_meta (void) const { return true; }
 
@@ -200,8 +206,6 @@
   octave::cdef_meta_object object;
 };
 
-//----------------------------------------------------------------------------
-
 class octave_classdef_superclass_ref : public octave_function
 {
 public: