binutils/binutils-2.26-dirsearch-destructor-unused.patch
2016-02-04 11:41:01 +00:00

19 lines
447 B
Diff

--- binutils-2.26.orig/gold/dirsearch.cc 2016-02-04 10:31:45.228796199 +0000
+++ binutils-2.26/gold/dirsearch.cc 2016-02-04 11:33:15.875824355 +0000
@@ -122,6 +122,7 @@ class Dir_caches
Cache_hash caches_;
};
+#if 0
Dir_caches::~Dir_caches()
{
for (Cache_hash::iterator p = this->caches_.begin();
@@ -129,6 +130,7 @@ Dir_caches::~Dir_caches()
++p)
delete p->second;
}
+#endif
void
Dir_caches::add(const char* dirname)