aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/tests/textutil
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-12-21 14:36:55 +0000
committerGeir Storli <geirst@yahooinc.com>2022-12-21 15:49:53 +0000
commitb5d69b996aec4375bae0c640405b4037784da22b (patch)
treed3a22800088d9c24356733dcebfec7fb1aae8709 /streamingvisitors/src/tests/textutil
parent55d657fd18be4dab7fe174587696de45fbc23f06 (diff)
Change from typedef to using in streamingvisitors C++ code.
Diffstat (limited to 'streamingvisitors/src/tests/textutil')
-rw-r--r--streamingvisitors/src/tests/textutil/textutil.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/streamingvisitors/src/tests/textutil/textutil.cpp b/streamingvisitors/src/tests/textutil/textutil.cpp
index 2a1390eaa01..160c734ee20 100644
--- a/streamingvisitors/src/tests/textutil/textutil.cpp
+++ b/streamingvisitors/src/tests/textutil/textutil.cpp
@@ -19,10 +19,10 @@ public:
Vector<T> & a(T v) { this->push_back(v); return *this; }
};
-typedef Vector<ucs4_t> UCS4V;
-typedef Vector<size_t> SizeV;
-typedef UTF8StringFieldSearcherBase SFSB;
-typedef FUTF8StrChrFieldSearcher FSFS;
+using UCS4V = Vector<ucs4_t>;
+using SizeV = Vector<size_t>;
+using SFSB = UTF8StringFieldSearcherBase;
+using FSFS = FUTF8StrChrFieldSearcher;
class TextUtilTest : public vespalib::TestApp
{