src: Improving consistency and correcting code style
As of this commit, all data structures can be directly constructed from
wire format.
This commit excludes full correction of code style in security/ and
tools/ndnsec*, which will be part of a different commit.
Change-Id: I121ac1f81948bc7468990df52cdefeb2988d91a1
Refs: #1403
diff --git a/src/management/ndnd-controller.cpp b/src/management/ndnd-controller.cpp
index a283826..32a19cd 100644
--- a/src/management/ndnd-controller.cpp
+++ b/src/management/ndnd-controller.cpp
@@ -197,7 +197,7 @@
Block::element_const_iterator val = content.elements_begin();
- switch(val->type())
+ switch (val->type())
{
case tlv::ndnd::FaceInstance:
{
@@ -243,7 +243,7 @@
Block::element_const_iterator val = content.elements_begin();
- switch(val->type())
+ switch (val->type())
{
case tlv::ndnd::ForwardingEntry:
{