clang-tidy: Enable modernize-use-emplace check

The check flags insertions to an STL-style container done by
calling the push_back, push, or push_front methods with an
explicitly-constructed temporary of the container element type.
In this case, the corresponding emplace equivalent methods result
in less verbose and potentially more efficient code.

Change-Id: I1e7ae19ef1400c83717b2df48f3314ba4e96423e
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/systemd_target_parser.cpp b/systemd_target_parser.cpp
index fe51d1a..9482c65 100644
--- a/systemd_target_parser.cpp
+++ b/systemd_target_parser.cpp
@@ -31,9 +31,9 @@
         }
         // delete "default" and insert defaults
         errorsToMonitor.erase(errorItr);
-        errorsToMonitor.push_back("timeout");
-        errorsToMonitor.push_back("failed");
-        errorsToMonitor.push_back("dependency");
+        errorsToMonitor.emplace_back("timeout");
+        errorsToMonitor.emplace_back("failed");
+        errorsToMonitor.emplace_back("dependency");
     }
 }