summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-04-29 11:19:09 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-04-29 11:19:09 +0200
commitd7c2c70f375caf8bb135d84462b9b702cf01b932 (patch)
tree2b9d32a1fd5693f0bdfc8ea3f26caa0f55c54db5
parente12779d807b00fdc1b69a224dd92ff58d5e20906 (diff)
downloadATCD-d7c2c70f375caf8bb135d84462b9b702cf01b932.tar.gz
Fixed misleading indent warning
* TAO/tao/RTScheduling/Request_Interceptor.cpp:
-rw-r--r--TAO/tao/RTScheduling/Request_Interceptor.cpp83
1 files changed, 50 insertions, 33 deletions
diff --git a/TAO/tao/RTScheduling/Request_Interceptor.cpp b/TAO/tao/RTScheduling/Request_Interceptor.cpp
index e27c5b49172..e0046a2ff26 100644
--- a/TAO/tao/RTScheduling/Request_Interceptor.cpp
+++ b/TAO/tao/RTScheduling/Request_Interceptor.cpp
@@ -114,27 +114,31 @@ void
Client_Interceptor::send_poll (PortableInterceptor::ClientRequestInfo_ptr ri)
{
if (TAO_debug_level > 0)
- TAOLIB_DEBUG ((LM_DEBUG,
- "Client_Interceptor::send_poll\n"));
+ {
+ TAOLIB_DEBUG ((LM_DEBUG,
+ "Client_Interceptor::send_poll\n"));
+ }
- TAO_RTScheduler_Current_i *current = 0;
+ TAO_RTScheduler_Current_i *current = 0;
- TAO_TSS_Resources *tss = TAO_TSS_Resources::instance ();
+ TAO_TSS_Resources *tss = TAO_TSS_Resources::instance ();
- current = static_cast<TAO_RTScheduler_Current_i *> (tss->rtscheduler_current_impl_);
- if (current != 0)
- {
- RTScheduling::Scheduler_var scheduler = current->scheduler ();
- scheduler->send_poll (ri);
- }
+ current = static_cast<TAO_RTScheduler_Current_i *> (tss->rtscheduler_current_impl_);
+ if (current != 0)
+ {
+ RTScheduling::Scheduler_var scheduler = current->scheduler ();
+ scheduler->send_poll (ri);
+ }
}
void
Client_Interceptor::receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri)
{
if (TAO_debug_level > 0)
- TAOLIB_DEBUG ((LM_DEBUG,
- "Client_Interceptor::receive_reply\n"));
+ {
+ TAOLIB_DEBUG ((LM_DEBUG,
+ "Client_Interceptor::receive_reply\n"));
+ }
TAO_RTScheduler_Current_i *current = 0;
@@ -152,8 +156,10 @@ void
Client_Interceptor::receive_exception (PortableInterceptor::ClientRequestInfo_ptr ri)
{
if (TAO_debug_level > 0)
- TAOLIB_DEBUG ((LM_DEBUG,
- "Client_Interceptor::receive_exception\n"));
+ {
+ TAOLIB_DEBUG ((LM_DEBUG,
+ "Client_Interceptor::receive_exception\n"));
+ }
TAO_TSS_Resources *tss = TAO_TSS_Resources::instance ();
@@ -165,7 +171,7 @@ Client_Interceptor::receive_exception (PortableInterceptor::ClientRequestInfo_pt
if (ri == 0)
{
TAOLIB_ERROR ((LM_ERROR,
- "ri = 0\n"));
+ "Client_Interceptor::receive_exception ri = 0\n"));
return;
}
@@ -208,8 +214,10 @@ void
Client_Interceptor::receive_other (PortableInterceptor::ClientRequestInfo_ptr ri)
{
if (TAO_debug_level > 0)
- TAOLIB_DEBUG ((LM_DEBUG,
- "Client_Interceptor::receive_other\n"));
+ {
+ TAOLIB_DEBUG ((LM_DEBUG,
+ "Client_Interceptor::receive_other\n"));
+ }
TAO_RTScheduler_Current_i *current = 0;
@@ -224,13 +232,13 @@ Client_Interceptor::receive_other (PortableInterceptor::ClientRequestInfo_ptr ri
}
char*
-Client_Interceptor::name (void)
+Client_Interceptor::name (
{
- return CORBA::string_dup ("RTSchdeuler_Client_Interceptor");
+ return CORBA::string_dup ("RTSchdeuler_Client_Interceptor");
}
void
-Client_Interceptor::destroy (void)
+Client_Interceptor::destroy ()
{
}
@@ -247,17 +255,20 @@ Server_Interceptor::receive_request_service_contexts (
PortableInterceptor::ServerRequestInfo_ptr)
{
if (TAO_debug_level > 0)
- TAOLIB_DEBUG ((LM_DEBUG,
- "Server_Interceptor::receive_request_service_contexts\n"));
-
+ {
+ TAOLIB_DEBUG ((LM_DEBUG,
+ "Server_Interceptor::receive_request_service_contexts\n"));
+ }
}
void
Server_Interceptor::receive_request (PortableInterceptor::ServerRequestInfo_ptr ri)
{
if (TAO_debug_level > 0)
- TAOLIB_DEBUG ((LM_DEBUG,
- "Server_Interceptor::receive_request\n"));
+ {
+ TAOLIB_DEBUG ((LM_DEBUG,
+ "Server_Interceptor::receive_request\n"));
+ }
IOP::ServiceContext_var serv_cxt;
@@ -357,8 +368,10 @@ void
Server_Interceptor::send_reply (PortableInterceptor::ServerRequestInfo_ptr ri)
{
if (TAO_debug_level > 0)
- TAOLIB_DEBUG ((LM_DEBUG,
- "Server_Interceptor::send_reply\n"));
+ {
+ TAOLIB_DEBUG ((LM_DEBUG,
+ "Server_Interceptor::send_reply\n"));
+ }
TAO_RTScheduler_Current_i *current = 0;
TAO_RTScheduler_Current_i *prev_current = 0;
@@ -404,8 +417,10 @@ void
Server_Interceptor::send_exception (PortableInterceptor::ServerRequestInfo_ptr ri)
{
if (TAO_debug_level > 0)
- TAOLIB_DEBUG ((LM_DEBUG,
- "Server_Interceptor::send_exception\n"));
+ {
+ TAOLIB_DEBUG ((LM_DEBUG,
+ "Server_Interceptor::send_exception\n"));
+ }
TAO_RTScheduler_Current_i *current = 0;
@@ -427,8 +442,10 @@ void
Server_Interceptor::send_other (PortableInterceptor::ServerRequestInfo_ptr ri)
{
if (TAO_debug_level > 0)
- TAOLIB_DEBUG ((LM_DEBUG,
- "Server_Interceptor::send_other\n"));
+ {
+ TAOLIB_DEBUG ((LM_DEBUG,
+ "Server_Interceptor::send_other\n"));
+ }
TAO_RTScheduler_Current_i *current = 0;
@@ -447,13 +464,13 @@ Server_Interceptor::send_other (PortableInterceptor::ServerRequestInfo_ptr ri)
}
char*
-Server_Interceptor::name (void)
+Server_Interceptor::name ()
{
return CORBA::string_dup ("RTSchdeuler_Server_Interceptor");
}
void
-Server_Interceptor::destroy (void)
+Server_Interceptor::destroy ()
{
}