management: add RIB flags class and use it in Route instead of int flags
refs #1886
Change-Id: Ia47f2cd89c5b0346e09fc43e6701bda3f4c32551
diff --git a/src/management/nfd-rib-entry.hpp b/src/management/nfd-rib-entry.hpp
index d426e3f..dcdfe50 100644
--- a/src/management/nfd-rib-entry.hpp
+++ b/src/management/nfd-rib-entry.hpp
@@ -22,6 +22,8 @@
#ifndef NDN_MANAGEMENT_NFD_RIB_ENTRY_HPP
#define NDN_MANAGEMENT_NFD_RIB_ENTRY_HPP
+#include "nfd-rib-flags.hpp"
+
#include "../encoding/block.hpp"
#include "../encoding/encoding-buffer.hpp"
#include "../encoding/tlv-nfd.hpp"
@@ -50,7 +52,7 @@
*
* @sa http://redmine.named-data.net/projects/nfd/wiki/RibMgmt
*/
-class Route
+class Route : public RibFlagsTraits<Route>
{
public:
class Error : public tlv::Error