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

Unified Diff: include/AdblockPlus/LogSystem.h

Issue 5163715573841920: Issue 768 - Switch from TR1 to C++11 (Closed)
Patch Set: Created July 11, 2014, 2:24 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
Index: include/AdblockPlus/LogSystem.h
===================================================================
--- a/include/AdblockPlus/LogSystem.h
+++ b/include/AdblockPlus/LogSystem.h
@@ -13,28 +13,27 @@
*
* You should have received a copy of the GNU General Public License
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ADBLOCK_PLUS_LOG_SYSTEM_H
#define ADBLOCK_PLUS_LOG_SYSTEM_H
+#include <memory>
#include <string>
-#include "tr1_memory.h"
-
namespace AdblockPlus
{
class LogSystem
{
public:
enum LogLevel {LOG_LEVEL_TRACE, LOG_LEVEL_LOG, LOG_LEVEL_INFO, LOG_LEVEL_WARN, LOG_LEVEL_ERROR};
virtual ~LogSystem() {}
virtual void operator()(LogLevel logLevel, const std::string& message,
const std::string& source) = 0;
};
- typedef std::tr1::shared_ptr<LogSystem> LogSystemPtr;
+ typedef std::shared_ptr<LogSystem> LogSystemPtr;
}
#endif

Powered by Google App Engine
This is Rietveld