// file : examples/cxx/hybrid/custom/wildcard/body.cxx // author : Boris Kolpackov // copyright : not copyrighted - public domain #include "body.hxx" namespace email { void body:: body_type (body::type t) { if (body_type_ == type_binary) { delete binary_; binary_ = 0; } body_type_ = t; } }