]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- cleanup 921/head
authorArvin Schnell <aschnell@suse.de>
Mon, 8 Jul 2024 13:22:09 +0000 (15:22 +0200)
committerArvin Schnell <aschnell@suse.de>
Mon, 8 Jul 2024 13:22:09 +0000 (15:22 +0200)
zypp-plugin/zypp-plugin.cc
zypp-plugin/zypp-plugin.h

index b7c67911c0765bc6d4b6ba66739530deab759090..b41e57d5bd0df790c8318a31d68dcbe6a33ad174 100644 (file)
@@ -20,7 +20,6 @@
  */
 
 
-
 using namespace std;
 
 
index ed356178a4155ba0da33e1b7e231209fe4d6473f..f01d979bd1e639041bb136bad8b07a604eb2e672 100644 (file)
@@ -36,11 +36,6 @@ public:
     // https://doc.opensuse.org/projects/libzypp/SLE12SP2/zypp-plugins.html
     using Message = Stomp::Message;
 
-    /// Where the protocol reads from
-    std::istream& pin;
-    /// Where the protocol writes to
-    std::ostream& pout;
-
     ZyppPlugin(std::istream& in = std::cin, std::ostream& out = std::cout)
        : pin(in), pout(out)
     {}
@@ -51,6 +46,11 @@ public:
 
 protected:
 
+    /// Where the protocol reads from
+    std::istream& pin;
+    /// Where the protocol writes to
+    std::ostream& pout;
+
     Message read_message(std::istream& is) const { return Stomp::read_message(is); }
     void write_message(std::ostream& os, const Message& msg) const { Stomp::write_message(os, msg); }