commit | dfe9c6b8c548562fdc5f995945b7f9dcb4d5ace6 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davide.pesavento@lip6.fr> | Mon Aug 25 21:17:10 2014 +0200 |
committer | Davide Pesavento <davide.pesavento@lip6.fr> | Thu Oct 30 01:44:22 2014 +0100 |
tree | 91f7e1d053868b6648537066072822310c29ae05 | |
parent | 5de006becbb60e4a8bd6492143b53b3d33c9961c [diff] [blame] |
Always build in C++11 mode. Change-Id: Ia25c738f63aee1b70e61f841ff52a151446ac220 Refs: #1930
diff --git a/src/name-component.cpp b/src/name-component.cpp index 75d9cfa..9c97773 100644 --- a/src/name-component.cpp +++ b/src/name-component.cpp
@@ -60,7 +60,7 @@ } Component::Component(const char* str) - : Block(dataBlock(tlv::NameComponent, str, ::strlen(str))) + : Block(dataBlock(tlv::NameComponent, str, std::char_traits<char>::length(str))) { }