]> git.lyx.org Git - lyx.git/blobdiff - src/support/types.h
Replace the text class shared ptr by good old index-into-global-list.
[lyx.git] / src / support / types.h
index 206d2818b15672ca82067794227c4cf2fbde2ed4..94acd680ecfc3a626bbe8e2cf8bea8435695e385 100644 (file)
@@ -39,9 +39,6 @@ namespace lyx {
        /// a type for sizes
        typedef size_t     size_type;
 
-       /// a type used for numbering text classes
-       typedef size_t     textclass_type;
-
 #else
 
        // These structs wrap simple things to make them distinguishible
@@ -60,19 +57,6 @@ namespace lyx {
                base_type data_;
        };
 
-       struct textclass_type {
-               ///
-               typedef size_t   base_type;
-               ///
-               textclass_type(base_type t) { data_ = t; }
-               ///
-               operator base_type() const { return data_; }
-               ///
-               private:
-               base_type data_;
-       };
-
-
 #endif
 
        ///