summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-09-06 13:59:31 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-09-06 13:59:31 +0000
commit329c8b51ccac30429e251a707e218507e75d63c6 (patch)
tree98881bb99cc87176fe52d2f7fef65c0fc0ad7b15 /vespalib
parent9c4c0b8d5d71e74f82ac8437fc951df03d222642 (diff)
typedef -> using
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/util/exceptions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/util/exceptions.h b/vespalib/src/vespa/vespalib/util/exceptions.h
index e06595f220d..721829e90d8 100644
--- a/vespalib/src/vespa/vespalib/util/exceptions.h
+++ b/vespalib/src/vespa/vespalib/util/exceptions.h
@@ -65,7 +65,7 @@ class ExceptionWithPayload : public std::exception {
public:
class Anything {
public:
- typedef std::unique_ptr<Anything> UP;
+ using UP = std::unique_ptr<Anything>;
virtual ~Anything() { }
};
ExceptionWithPayload(vespalib::stringref msg) : std::exception(), _msg(msg), _payload() { }