From a070b02ec82bd133c0eccae0637dde108d8fe06e Mon Sep 17 00:00:00 2001 From: Chris Cleeland Date: Fri, 2 Jan 1998 16:41:16 +0000 Subject: * tests/Env_Value_Test.cpp (main): Changed the definition of the TEST_THIS macro to be all on one line. While ugly, this helps in locating the line when ACE_ASSERT fails, since allowing the macro to have multiple lines skews the line # reported by ACE_ASSERT. --- ace/Env_Value_T.i | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'ace/Env_Value_T.i') diff --git a/ace/Env_Value_T.i b/ace/Env_Value_T.i index 31828bfe385..397a5614e0f 100644 --- a/ace/Env_Value_T.i +++ b/ace/Env_Value_T.i @@ -1,7 +1,7 @@ // $Id$ template ACE_INLINE -ACE_Env_Value::operator const T (void) const +ACE_Env_Value::operator T (void) { return value_; } @@ -21,7 +21,6 @@ ACE_Env_Value::ACE_Env_Value (const char *varname, this->fetch_value (); } - template ACE_INLINE void ACE_Env_Value::open (const char *varname, const T &defval) @@ -40,6 +39,12 @@ ACE_Env_Value::fetch_value (void) ACE_Convert (env, value_); } +template ACE_INLINE const char* +ACE_Env_Value::varname (void) const +{ + return varname_; +} + template ACE_INLINE ACE_Env_Value::~ACE_Env_Value (void) { -- cgit v1.2.1