Drop some unused boost lexical_cast includes and associated MSVC pragmas.

This commit is contained in:
Router Gray
2020-05-20 21:09:15 -05:00
parent 3e78b74474
commit 518da73ad2
8 changed files with 23 additions and 69 deletions

View File

@@ -24,7 +24,6 @@
#include "llviewerobjectlist.h"
#include <time.h>
#include <boost/lexical_cast.hpp>
class NACLAntiSpamQueue
{

View File

@@ -45,8 +45,6 @@
#include "llmutelist.h"
#include "llnamelistctrl.h"
#include <boost/lexical_cast.hpp>
//
// Constants
//

View File

@@ -28,13 +28,6 @@
#include "llmediadataclient.h"
#if LL_MSVC
// disable boost::lexical_cast warning
#pragma warning (disable:4702)
#endif
#include <boost/lexical_cast.hpp>
#include "llhttpstatuscodes.h"
#include "llsdutil.h"
#include "llmediaentry.h"

View File

@@ -83,7 +83,6 @@
// <edit>
#include "llspinctrl.h"
#include "llviewermessage.h"
#include <boost/lexical_cast.hpp>
// </edit>
#include <boost/algorithm/string.hpp>

View File

@@ -24,12 +24,6 @@
* $/LicenseInfo$
*/
#if LL_MSVC
// disable warning about boost::lexical_cast returning uninitialized data
// when it fails to parse the string
#pragma warning (disable:4701)
#endif
#include "llviewerprecompiledheaders.h"
#include "llvoavatar.h"
@@ -130,13 +124,7 @@
#include "rlvhandler.h"
// [/RLVa:KB]
#if LL_MSVC
// disable boost::lexical_cast warning
#pragma warning (disable:4702)
#endif
#include <boost/algorithm/string/replace.hpp>
#include <boost/lexical_cast.hpp>
#if LL_DARWIN
size_t strnlen(const char *s, size_t n)

View File

@@ -24,11 +24,6 @@
* $/LicenseInfo$
*/
#if LL_MSVC
// disable warning about boost::lexical_cast returning uninitialized data
// when it fails to parse the string
#pragma warning (disable:4701)
#endif
#include "llviewerprecompiledheaders.h"
@@ -70,12 +65,6 @@
#include "rlvlocks.h"
// [/RLVa:KB]
#if LL_MSVC
// disable boost::lexical_cast warning
#pragma warning (disable:4702)
#endif
#include <boost/lexical_cast.hpp>
LLPointer<LLVOAvatarSelf> gAgentAvatarp = NULL;