From 8d6f5c6ffc4a615f8b653a89f1f3fb18db046bd5 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Mon, 8 Apr 2013 19:54:07 +0200 Subject: [PATCH] Compile error fix. Cannot pass non-trivially copyable type std::string through '...'. --- indra/newview/llviewerwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 2088000f8..9da17bf3d 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -372,7 +372,7 @@ public: static const LLCachedControl use_rmse_auto_mask("SHUseRMSEAutoMask",false); static const LLCachedControl alpha_mas_max_rmse("SHAlphaMaskMaxRMSE",.09f); addText(xpos, ypos, llformat("Mask: %s", imagep->getIsAlphaMask(use_rmse_auto_mask ? alpha_mas_max_rmse : -1.f) ? "TRUE":"FALSE")); ypos += y_inc; - addText(xpos, ypos, llformat("ID: %s", imagep->getID().asString())); ypos += y_inc; + addText(xpos, ypos, llformat("ID: %s", imagep->getID().asString().c_str())); ypos += y_inc; } } }