summaryrefslogtreecommitdiff
path: root/name.h
diff options
context:
space:
mode:
Diffstat (limited to 'name.h')
-rwxr-xr-xname.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/name.h b/name.h
index 28a2f91..b895389 100755
--- a/name.h
+++ b/name.h
@@ -14,15 +14,15 @@ protected:
string s_name; // object's name.
public:
- // small inline methods:
virtual string get_name ( ) const;
virtual void set_name ( string s_name );
+
// public methods:
explicit name( ) { }; // a standard constructor.
explicit name( string s_name ); // a standard constructor.
+ ~name( );
- ~name();
};
#endif