diff options
Diffstat (limited to 'TAO/tao/Valuetype/ValueBase.h')
-rw-r--r-- | TAO/tao/Valuetype/ValueBase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Valuetype/ValueBase.h b/TAO/tao/Valuetype/ValueBase.h index ff35debdefc..a883662270e 100644 --- a/TAO/tao/Valuetype/ValueBase.h +++ b/TAO/tao/Valuetype/ValueBase.h @@ -82,7 +82,7 @@ namespace CORBA /// Marshal a valuetype (see operator<< in tao_idl generated file /// how it is called) static CORBA::Boolean _tao_marshal (TAO_OutputCDR &strm, - ValueBase *_this, + const ValueBase *_this, ptrdiff_t formal_type_id = 0); /// Unmarshal a valuetype, if formal type is a pointer to @@ -105,7 +105,7 @@ namespace CORBA public: // otherwise these cannot be called from a static function /// during marshal jump to the most derived part - virtual CORBA::Boolean _tao_marshal_v (TAO_OutputCDR &) = 0; + virtual CORBA::Boolean _tao_marshal_v (TAO_OutputCDR &) const = 0; /// called after obtaining the fresh object from create_for_unmarshal () virtual CORBA::Boolean _tao_unmarshal_v (TAO_InputCDR &) = 0; |