summaryrefslogtreecommitdiff
path: root/ACE/tests/OS_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 17:10:22 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 17:10:22 +0100
commit1e53fe7a08a386009ce01221320d33701d585f9c (patch)
tree5650c9749db2de9a2087f81a50158f0dfb8bdb35 /ACE/tests/OS_Test.cpp
parente05eb413c59f589e7d4192af7e12eb777017bd70 (diff)
downloadATCD-1e53fe7a08a386009ce01221320d33701d585f9c.tar.gz
Modernize ACE tests with using instead of typedef
Diffstat (limited to 'ACE/tests/OS_Test.cpp')
-rw-r--r--ACE/tests/OS_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/OS_Test.cpp b/ACE/tests/OS_Test.cpp
index 4ffc3bf4511..abe20bdc17a 100644
--- a/ACE/tests/OS_Test.cpp
+++ b/ACE/tests/OS_Test.cpp
@@ -578,7 +578,7 @@ string_emulation_test ()
}
// Test ACE_OS::snprintf
-typedef int (*SNPrintF_t) (char *buf, size_t maxlen, const char *format, ...);
+using SNPrintF_t = int (*)(char *, size_t, const char *, ...);
int
snprintf_test (SNPrintF_t fn)