diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/message.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/message.h b/include/message.h index 2e3cd9bb1..322e159d1 100644 --- a/include/message.h +++ b/include/message.h @@ -167,5 +167,10 @@ class CoreExport MessageTarget case TYPE_SERVER: return *Get<std::string>(); } + + // We should never reach this point during a normal execution but + // handle it just in case. + static const std::string target = "*"; + return target; } }; |