ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Iffy/Cleaner.hpp
(Generate patch)

Comparing Iffy/Cleaner.hpp (file contents):
Revision 284 by Douglas Thrift, 2004-11-18T16:37:13-08:00 vs.
Revision 288 by douglas, 2004-12-09T22:47:17-08:00

# Line 16 | Line 16 | struct Segment
16          SegmentType type;
17          ext::String text;
18          Tag tag;
19 <        Segment() {}
19 >        Segment() : type(TEXT) {}
20          Segment(const ext::String& text) : type(TEXT), text(text) {}
21          Segment(const Tag& tag) : type(TAG), tag(tag) {}
22   };
# Line 27 | Line 27 | private:
27          ext::Vector<Segment> segments;
28   public:
29          template <typename Type>
30 <                void insert(const Type& type) { segments.InsertLast(Segment(type)); }
30 >                void insert(const Type& type) { segments.InsertLast(type); }
31          void clean();
32   // friends:
33          friend ios::PrintWriter& operator<<(ios::PrintWriter& pout, const Cleaner& cleaner);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines