]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Formatting
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 3 Aug 2022 11:32:54 +0000 (13:32 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Thu, 1 Sep 2022 08:31:52 +0000 (10:31 +0200)
pdns/lua-base4.hh

index 1dbf62eecb39cca01a38d827ca7f5e5f3903c8b6..20b0159716bc93504d003209beccf1cb292395d5 100644 (file)
@@ -13,16 +13,16 @@ protected:
 
 public:
   BaseLua4();
-  void loadFile(const std::string &fname);
-  void loadString(const std::string &script);
-  void loadStream(std::istream &is);
+  void loadFile(const std::stringfname);
+  void loadString(const std::stringscript);
+  void loadStream(std::istreamis);
   virtual ~BaseLua4(); // this is so unique_ptr works with an incomplete type
 protected:
   void prepareContext();
   virtual void postPrepareContext() = 0;
   virtual void postLoad() = 0;
-  typedef vector<pair<string, int> > in_t;
-  vector<pair<string, boost::variant<int, in_t, struct timeval* > > > d_pd;
-  typedef vector<pair<string, boost::variant<string,bool,int,double> > > Features;
+  typedef vector<pair<string, int>> in_t;
+  vector<pair<string, boost::variant<int, in_t, struct timeval*>>> d_pd;
+  typedef vector<pair<string, boost::variant<string, bool, int, double>>> Features;
   virtual void getFeatures(Features&);
 };