netconf-client: unify filtering API between <get> and <get-config>

Change-Id: I2762cfbdc8d29b5adde5aee9ba14ea9bad6fef06
diff --git a/src/netconf-client.h b/src/netconf-client.h
index b9a1925..6d57e01 100644
--- a/src/netconf-client.h
+++ b/src/netconf-client.h
@@ -35,7 +35,7 @@
     std::vector<std::string_view> capabilities() const;
     std::shared_ptr<libyang::Data_Node> getConfig(const NC_DATASTORE datastore,
                                                   const std::optional<const std::string> filter = std::nullopt); // TODO: arguments...
-    std::shared_ptr<libyang::Data_Node> get(const std::string& filter);
+    std::shared_ptr<libyang::Data_Node> get(const std::optional<std::string>& filter = std::nullopt);
     std::string getSchema(const std::string_view identifier, const std::optional<std::string_view> version);
     void editConfig(const NC_DATASTORE datastore,
                     const NC_RPC_EDIT_DFLTOP defaultOperation,