diff options
author | Steve Huston <shuston@riverace.com> | 1997-11-22 22:46:18 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1997-11-22 22:46:18 +0000 |
commit | 49d3563c83e0869fd49542a37393e42e90c4b854 (patch) | |
tree | 8440e5dd2b12ebaeac47faf6cf315ec636de79f0 /examples/Threads | |
parent | fcf6bcb5ca686d5c3015f9fb46c4c3a07b4f80a7 (diff) | |
download | ATCD-49d3563c83e0869fd49542a37393e42e90c4b854.tar.gz |
Added 'const' at line 22 - can't init a char * from a const string.
Diffstat (limited to 'examples/Threads')
-rw-r--r-- | examples/Threads/process_mutex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Threads/process_mutex.cpp b/examples/Threads/process_mutex.cpp index e78b2fe09fb..99a15b0b68c 100644 --- a/examples/Threads/process_mutex.cpp +++ b/examples/Threads/process_mutex.cpp @@ -19,7 +19,7 @@ handler (int) int main (int argc, char *argv[]) { - char *name = argc > 1 ? argv[1] : "hello"; + const char *name = argc > 1 ? argv[1] : "hello"; int iterations = argc > 2 ? ACE_OS::atoi (argv[2]) : 100; ACE_Process_Mutex pm (name); |