diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-04-02 14:06:54 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-04-02 14:06:54 +0000 |
commit | 6270be1be1979c0ad41ea506200431bcfc79360c (patch) | |
tree | 4c456bd93cb848681fd135a983739042fc6e5594 /plugins/XSoundNotify/src/SoundNotifyDataStorage.cpp | |
parent | ff5a775b94465b30897964630af600fe5915fc51 (diff) |
- XSoundNotify: boost removal pt 1 (patch from Mataes)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4286 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/XSoundNotify/src/SoundNotifyDataStorage.cpp')
-rw-r--r-- | plugins/XSoundNotify/src/SoundNotifyDataStorage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/XSoundNotify/src/SoundNotifyDataStorage.cpp b/plugins/XSoundNotify/src/SoundNotifyDataStorage.cpp index 93a81bfed6..d7fca9638f 100644 --- a/plugins/XSoundNotify/src/SoundNotifyDataStorage.cpp +++ b/plugins/XSoundNotify/src/SoundNotifyDataStorage.cpp @@ -41,7 +41,7 @@ void SoundNotifyDataStorage::addContact(HANDLE contact) {
ModuleString module = getContactModule(contact);
ProtocolString proto = _moduleTable[module];
- xsn_string user = getContactId(contact, module, proto);
+ std::tstring user = getContactId(contact, module, proto);
if (user.empty())
return ;
@@ -50,11 +50,11 @@ void SoundNotifyDataStorage::addContact(HANDLE contact) _protocolTable[proto][user] = SoundNotifyDataPtr(new SoundNotifyData(contact, module, sound.toString()));
}
-xsn_string SoundNotifyDataStorage::getContactId(HANDLE contact, const ModuleString & module, const ProtocolString & proto)
+std::tstring SoundNotifyDataStorage::getContactId(HANDLE contact, const ModuleString &module, const ProtocolString &proto)
{
auto it = _registeredProtocols.find(proto);
if (it == _registeredProtocols.end())
- return xsn_string();
+ return std::tstring();
return it->second(contact, module);
}
|