diff --git a/indra/llui/llview.h b/indra/llui/llview.h
index 97151c4fb463bf38e55b2e25d3a4116ea184c340..fcae75c447d0ccff45bb5498bfb707b497151fd3 100644
--- a/indra/llui/llview.h
+++ b/indra/llui/llview.h
@@ -51,6 +51,7 @@
 
 #include <list>
 #include <boost/function.hpp>
+#include <boost/noncopyable.hpp>
 
 class LLSD;
 
@@ -614,7 +615,7 @@ class LLView : public LLMouseHandler, public LLMortician, public LLFocusableElem
 	//     LLView::TemporaryDrilldownFunc scoped_func(myfunctor);
 	//     // ... test with myfunctor ...
 	// } // exiting block restores original LLView::sDrilldown
-	class TemporaryDrilldownFunc
+	class TemporaryDrilldownFunc: public boost::noncopyable
 	{
 	public:
 		TemporaryDrilldownFunc(const DrilldownFunc& func):