Changeset 2462 in Sophya for trunk/SophyaLib/BaseTools


Ignore:
Timestamp:
Nov 24, 2003, 10:25:46 PM (22 years ago)
Author:
ansari
Message:

Correction bugs ds ppfnametag.h - Reza 24 Nov 2003

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/ppfnametag.h

    r2459 r2462  
    2121  inline void WriteTag(POutPersist& po)
    2222  { return po.WriteNameTag(_tname); }
    23   inline char*  operator= (char* s) { _tname = s; }
    24   inline string& operator= (string const & s)  { _tname = s; }
     23  inline char*  operator= (char* s) { _tname = s; return s; }
     24  inline string const & operator= (string const & s)  { _tname = s; return s; }
    2525  inline operator  string() const { return _tname; }
    2626protected:
     
    3232
    3333inline POutPersist& operator >> (POutPersist& so, PPFNameTag & pnt)
    34 { return pnt.WriteTag(so); return(so); }
     34{ pnt.WriteTag(so); return(so); }
    3535
    3636}  // namespace SOPHYA
Note: See TracChangeset for help on using the changeset viewer.