Skip to content

Commit c836e5c

Browse files
committed
use const
* TAO/tests/Transport_Idle_Timeout/client.cpp: * TAO/tests/Transport_Idle_Timeout/client_multiple.cpp:
1 parent faf2cf2 commit c836e5c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

TAO/tests/Transport_Idle_Timeout/client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ tc3_timer_cancel_on_reuse (CORBA::ORB_ptr orb, Test::Echo_ptr echo)
215215
ok &= check ("TC-3 before timeout (expect 1)", cache_size(orb), 1);
216216

217217
// Sleep past the remainder of the timeout
218-
int constexpr post_sleep = 4;
218+
int const post_sleep = 4;
219219
ACE_DEBUG ((LM_INFO,
220220
ACE_TEXT (" sleeping %d s (post-timeout)...\n"), post_sleep));
221221
sleep_with_reactor (orb, post_sleep);

TAO/tests/Transport_Idle_Timeout/client_multiple.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ tc3_timer_cancel_on_reuse (CORBA::ORB_ptr orb, Test::Echo_ptr echo, Test::Echo_p
230230
ok &= check ("TC-3 before timeout (expect 1)", cache_size(orb), 1);
231231

232232
// Sleep past the remainder of the timeout
233-
int constexpr post_sleep = 4;
233+
int const post_sleep = 4;
234234
ACE_DEBUG ((LM_INFO,
235235
ACE_TEXT (" sleeping %d s (post-timeout)...\n"), post_sleep));
236236
sleep_with_reactor (orb, post_sleep);

0 commit comments

Comments
 (0)