aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/left_right_heap/left_right_heap_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/tests/left_right_heap/left_right_heap_test.cpp')
-rw-r--r--vespalib/src/tests/left_right_heap/left_right_heap_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/tests/left_right_heap/left_right_heap_test.cpp b/vespalib/src/tests/left_right_heap/left_right_heap_test.cpp
index 26997ce2147..e7ab47e1c9f 100644
--- a/vespalib/src/tests/left_right_heap/left_right_heap_test.cpp
+++ b/vespalib/src/tests/left_right_heap/left_right_heap_test.cpp
@@ -10,7 +10,7 @@ using namespace vespalib;
//-----------------------------------------------------------------------------
-typedef std::unique_ptr<int> int_up;
+using int_up = std::unique_ptr<int>;
template <typename T> T wrap(int value);
template <> int wrap<int>(int value) { return value; }
@@ -70,7 +70,7 @@ struct Input {
template <typename Heap, typename Value = int, typename Cmp = CmpInt>
struct Setup {
- typedef Setup<Heap, int_up, CmpIntUp> IUP;
+ using IUP = Setup<Heap, int_up, CmpIntUp>;
Input &input;
std::vector<Value> data;
Cmp cmp;