Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / tests / Based_Pointer_Test_Lib.cpp
blobfc0b9481c1af4b5153bd793da483b1ab40dfbc84
2 //=============================================================================
3 /**
4 * @file Based_Pointer_Test_Lib.cpp
6 * This test confirms the function of the Based_Pointer_Repository
8 * @author Steve Williams <steve@telxio>
9 */
10 //=============================================================================
13 #include "ace/ACE.h"
14 #include "ace/svc_export.h"
15 #include "ace/Based_Pointer_Repository.h"
17 extern "C" ACE_Svc_Export void *get_based_pointer_repository_instance ()
19 void* baddr = ACE_BASED_POINTER_REPOSITORY::instance();
20 return baddr;