summaryrefslogtreecommitdiff
path: root/indra/newview/llviewernetwork.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-07-02 11:14:13 -0400
committerOz Linden <oz@lindenlab.com>2012-07-02 11:14:13 -0400
commit770d8b0d01d3dabeccded0df3a06058f6196d829 (patch)
tree777efc076d2560cf80f183728443a5cbb147ca7d /indra/newview/llviewernetwork.h
parenta6fab91181362c1a5d616c84c78901f61c86228c (diff)
improve logging of invalid grid definitions, prevent clashes with old viewers
Diffstat (limited to 'indra/newview/llviewernetwork.h')
-rw-r--r--indra/newview/llviewernetwork.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llviewernetwork.h b/indra/newview/llviewernetwork.h
index 802badd494..8c4990f8fe 100644
--- a/indra/newview/llviewernetwork.h
+++ b/indra/newview/llviewernetwork.h
@@ -195,8 +195,9 @@ class LLGridManager : public LLSingleton<LLGridManager>
private:
- /// Add a grid to the list of grids
- void addGrid(LLSD& grid_info);
+ /// Add a grid to the list of grids
+ bool addGrid(LLSD& grid_info);
+ ///< @returns true if successfully added
/// find the LLSD definition for a given grid
void getGridInfo(const std::string& grid, LLSD &grid_info);