util+build: Build optimization with regex util
Now only one class (RegexTopMatcher) is getting compiled and other
classes are implemented in header-only way.
Change-Id: I5310c2b1c9ad40366a7b159fe0cec597caca638b
diff --git a/src/util/regex.hpp b/src/util/regex.hpp
index 0e7d6a0..9f9d306 100644
--- a/src/util/regex.hpp
+++ b/src/util/regex.hpp
@@ -5,17 +5,15 @@
* See COPYING for copyright and distribution information.
*/
-#ifndef NDN_REGEX_HPP
-#define NDN_REGEX_HPP
+#ifndef NDN_UTIL_REGEX_HPP
+#define NDN_UTIL_REGEX_HPP
#include "regex/regex-top-matcher.hpp"
-namespace ndn
-{
+namespace ndn {
typedef RegexTopMatcher Regex;
-}
+} // namespace ndn
-#endif
-
+#endif // NDN_UTIL_REGEX_HPP