summaryrefslogtreecommitdiff
blob: edd10d2b903e0e545ca966195d23188c7384168d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -Naur /var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0.old/lib/inc/facter/facts/collection.hpp /var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0/lib/inc/facter/facts/collection.hpp
--- facter-3.5.0.old/lib/inc/facter/facts/collection.hpp  2016-10-21 18:32:16.000000000 -0500
+++ facter-3.5.0/lib/inc/facter/facts/collection.hpp  2016-11-28 19:36:55.025454011 -0600
@@ -94,7 +94,7 @@
          *        for the facts they resolve
          */
         collection(std::set<std::string> const& blocklist = std::set<std::string>(),
-                   std::unordered_map<std::string, int64_t> const& ttls = {});
+                   std::unordered_map<std::string, int64_t> const& ttls = std::unordered_map<std::string, int64_t>{});
 
         /**
          * Destructor for fact collection.
diff -Naur /var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0.old/lib/tests/collection_fixture.hpp /var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0/lib/tests/collection_fixture.hpp
--- facter-3.5.0.old/lib/tests/collection_fixture.hpp 2016-10-21 18:32:16.000000000 -0500
+++ facter-3.5.0/lib/tests/collection_fixture.hpp 2016-11-28 19:36:47.322311122 -0600
@@ -10,7 +10,7 @@
     {
     public:
         collection_fixture(std::set<std::string> const& blocklist = std::set<std::string>(),
-                std::unordered_map<std::string, int64_t> const& ttls = {});
+                std::unordered_map<std::string, int64_t> const& ttls = std::unordered_map<std::string, int64_t>{});
 
     protected:
         virtual std::vector<std::string> get_external_fact_directories() const override;