From 77948b8ce440edfa5e936b05ec7accbfca01b87e Mon Sep 17 00:00:00 2001 From: Drake Arconis Date: Tue, 3 Jul 2012 00:24:15 +0000 Subject: [PATCH] Fixed further warnings reported by clang. --- indra/llrender/llgl.h | 1 + indra/newview/jcfloaterareasearch.cpp | 2 +- indra/plugins/example_media/media_plugin_example.cpp | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/indra/llrender/llgl.h b/indra/llrender/llgl.h index c7e58aff9..06f6155c9 100644 --- a/indra/llrender/llgl.h +++ b/indra/llrender/llgl.h @@ -429,6 +429,7 @@ public: virtual void placeFence() = 0; virtual bool isCompleted() = 0; virtual void wait() = 0; + virtual ~LLGLFence() {} }; class LLGLSyncFence : public LLGLFence diff --git a/indra/newview/jcfloaterareasearch.cpp b/indra/newview/jcfloaterareasearch.cpp index 57ad0bebd..3cb15b052 100644 --- a/indra/newview/jcfloaterareasearch.cpp +++ b/indra/newview/jcfloaterareasearch.cpp @@ -52,7 +52,7 @@ std::string JCFloaterAreaSearch::sSearchedDesc; std::string JCFloaterAreaSearch::sSearchedOwner; std::string JCFloaterAreaSearch::sSearchedGroup; -const std::string request_string = "JCFloaterAreaSearch::Requested_๘งต"; +const std::string request_string = "JCFloaterAreaSearch::Requested_\xF8\xA7\xB5"; const F32 min_refresh_interval = 0.25f; // Minimum interval between list refreshes in seconds. JCFloaterAreaSearch::JCFloaterAreaSearch() : diff --git a/indra/plugins/example_media/media_plugin_example.cpp b/indra/plugins/example_media/media_plugin_example.cpp index bdb77fb6e..0ca12800f 100755 --- a/indra/plugins/example_media/media_plugin_example.cpp +++ b/indra/plugins/example_media/media_plugin_example.cpp @@ -446,10 +446,10 @@ void MediaPluginExample::update( F64 milliseconds ) }; if ( mXpos[ n ] + mXInc[ n ] < 0 || mXpos[ n ] + mXInc[ n ] >= mWidth - mBlockSize[ n ] ) - mXInc[ n ] =- mXInc[ n ]; + mXInc[ n ] = - mXInc[ n ]; if ( mYpos[ n ] + mYInc[ n ] < 0 || mYpos[ n ] + mYInc[ n ] >= mHeight - mBlockSize[ n ] ) - mYInc[ n ] =- mYInc[ n ]; + mYInc[ n ] = - mYInc[ n ]; mXpos[ n ] += mXInc[ n ]; mYpos[ n ] += mYInc[ n ];