summaryrefslogtreecommitdiff
path: root/indra/llcommon/llcrc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/llcrc.cpp')
-rw-r--r--indra/llcommon/llcrc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llcrc.cpp b/indra/llcommon/llcrc.cpp
index 0836ccb66b..ea90b4f22f 100644
--- a/indra/llcommon/llcrc.cpp
+++ b/indra/llcommon/llcrc.cpp
@@ -163,9 +163,9 @@ void LLCRC::update(const U8* buffer, size_t buffer_size)
}
}
-void LLCRC::update(const char* filename)
+void LLCRC::update(const std::string& filename)
{
- if (!filename)
+ if (filename.empty())
{
llerrs << "No filename specified" << llendl;
return;