Imported Upstream version 1.0.1
[platform/upstream/iotivity.git] / service / simulator / ramlparser / raml / jsonSchemaParser / Items.h
index d2463b2..b0a0e50 100755 (executable)
@@ -124,7 +124,7 @@ namespace RAML
                     if (*it == reqValue)\r
                         break;\r
                 }\r
-                if (m_required.end() == it)\r
+                if (m_required.end() != it)\r
                 {\r
                     m_required.push_back(reqValue);\r
                 }\r