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

Unified Diff: include/AdblockPlus/JsValue.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/JsValue.h
===================================================================
--- a/include/AdblockPlus/JsValue.h
+++ b/include/AdblockPlus/JsValue.h
@@ -13,38 +13,38 @@
*
* 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_JS_VALUE_H
#define ADBLOCK_PLUS_JS_VALUE_H
+#include <memory>
#include <stdint.h>
#include <string>
#include <vector>
-#include "tr1_memory.h"
#include "V8ValueHolder.h"
namespace v8
{
class Value;
template<class T> class Handle;
}
namespace AdblockPlus
{
class JsValue;
class JsEngine;
- typedef std::tr1::shared_ptr<JsValue> JsValuePtr;
+ typedef std::shared_ptr<JsValue> JsValuePtr;
typedef std::vector<AdblockPlus::JsValuePtr> JsValueList;
// Forward declaration to avoid including JsEngine.h
- typedef std::tr1::shared_ptr<JsEngine> JsEnginePtr;
+ typedef std::shared_ptr<JsEngine> JsEnginePtr;
class JsValue
{
friend class JsEngine;
public:
JsValue(JsValuePtr value);
virtual ~JsValue();

Powered by Google App Engine
This is Rietveld