diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-01-09 09:13:33 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-01-09 09:13:33 +0100 |
commit | 3429716fe5689b312bdcccc57feceba49d8cad97 (patch) | |
tree | 8ce62c8602689b8125c5a8dd063a0b3c40ec2d36 /ACE/tests | |
parent | f853b84db13f3a3441a2bd78a752cd0b88bec2b5 (diff) | |
parent | dc125f1c8f9d0b60afbae36af9ddeb0342d90de8 (diff) | |
download | ATCD-3429716fe5689b312bdcccc57feceba49d8cad97.tar.gz |
Merge branch 'master' of https://github.com/DOCGroup/ACE_TAO
Diffstat (limited to 'ACE/tests')
-rw-r--r-- | ACE/tests/Compiler_Features_38_Test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/tests/Compiler_Features_38_Test.cpp b/ACE/tests/Compiler_Features_38_Test.cpp index 0d6466479db..1c2f901bb7d 100644 --- a/ACE/tests/Compiler_Features_38_Test.cpp +++ b/ACE/tests/Compiler_Features_38_Test.cpp @@ -4,6 +4,7 @@ */ #include "test_config.h" +#include "ace/CDR_Base.h" template <typename T> class Foo_T @@ -11,8 +12,7 @@ class Foo_T public: Foo_T () : member() {}; typedef T& T_elem; - T_elem operator[] (long) { return member; } - operator T *& () { return & member; }; + T_elem operator[] (ACE_CDR::ULong) { return member; } private: T member; }; @@ -29,7 +29,7 @@ run_main (int, ACE_TCHAR *[]) ACE_START_TEST (ACE_TEXT("Compiler_Features_38_Test")); Foo2Seq f2; - long const j = f2[0L].i; + long const j = f2[0].i; ACE_UNUSED_ARG(j); ACE_DEBUG ((LM_INFO, |