Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginSettings.cpp

Issue 6523237609504768: Issue #276 - eliminate CString from CPluginMutex (Closed)
Patch Set: Created July 30, 2014, 5:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/plugin/PluginMutex.h ('K') | « src/plugin/PluginMutex.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginSettings.cpp
===================================================================
--- a/src/plugin/PluginSettings.cpp
+++ b/src/plugin/PluginSettings.cpp
@@ -33,29 +33,12 @@
char sPluginId[44];
};
-
-class CPluginSettingsLock : public CPluginMutex
-{
-public:
- CPluginSettingsLock() : CPluginMutex("SettingsFile", PLUGIN_ERROR_MUTEX_SETTINGS_FILE) {}
- ~CPluginSettingsLock() {}
-
-};
-
-
-class CPluginSettingsTabLock : public CPluginMutex
-{
-public:
- CPluginSettingsTabLock() : CPluginMutex("SettingsFileTab", PLUGIN_ERROR_MUTEX_SETTINGS_FILE_TAB) {}
- ~CPluginSettingsTabLock() {}
-};
-
#ifdef SUPPORT_WHITELIST
class CPluginSettingsWhitelistLock : public CPluginMutex
{
public:
- CPluginSettingsWhitelistLock() : CPluginMutex("SettingsFileWhitelist", PLUGIN_ERROR_MUTEX_SETTINGS_FILE_WHITELIST) {}
+ CPluginSettingsWhitelistLock() : CPluginMutex(L"SettingsFileWhitelist", PLUGIN_ERROR_MUTEX_SETTINGS_FILE_WHITELIST) {}
~CPluginSettingsWhitelistLock() {}
};
« src/plugin/PluginMutex.h ('K') | « src/plugin/PluginMutex.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld