summaryrefslogtreecommitdiff
path: root/TAO/tao/Profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Profile.h')
-rw-r--r--TAO/tao/Profile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Profile.h b/TAO/tao/Profile.h
index 6b5570c9481..34461840ee2 100644
--- a/TAO/tao/Profile.h
+++ b/TAO/tao/Profile.h
@@ -182,7 +182,7 @@ public:
/// Return a string representation for this profile. Client must
/// deallocate memory. Only one endpoint is included into the
/// string.
- virtual char* to_string (void) = 0;
+ virtual char* to_string (void) const = 0;
/**
* Encodes this profile's endpoints into a tagged component.
@@ -430,7 +430,7 @@ public:
// = The TAO_Profile methods look above
virtual void parse_string (const char *string);
virtual char object_key_delimiter (void) const;
- virtual char* to_string (void);
+ virtual char* to_string (void) const;
virtual int decode (TAO_InputCDR& cdr);
virtual int encode (TAO_OutputCDR &stream) const;
virtual int encode_endpoints (void);