From 852fd5c5a7ac8fe8826989e35051a223d08ec517 Mon Sep 17 00:00:00 2001 From: Matthias Schwarzott Date: Mon, 18 May 2015 12:05:47 +0200 Subject: [PATCH] Fix compilation error on some platforms. See also: https://bugs.gentoo.org/show_bug.cgi?id=548850 --- heaptrack_print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heaptrack_print.cpp b/heaptrack_print.cpp index 3b252ad..cc0177a 100644 --- a/heaptrack_print.cpp +++ b/heaptrack_print.cpp @@ -1002,7 +1002,7 @@ int main(int argc, char** argv) if (!printHistogram.empty()) { ofstream histogram(printHistogram, ios_base::out); if (!histogram.is_open()) { - cerr << "Failed to open histogram output file \"" << histogram << "\"." << endl; + cerr << "Failed to open histogram output file \"" << printHistogram << "\"." << endl; } else { for (auto entry : data.sizeHistogram) { histogram << entry.first << '\t' << entry.second << '\n'; -- 2.7.4