-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Reilly Brogan <[email protected]>
- Loading branch information
1 parent
427a7f2
commit f325edb
Showing
3 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From 3b2441b87f99ab65f37b141a7b548ebadb607b96 Mon Sep 17 00:00:00 2001 | ||
From: Janusz Chorko <[email protected]> | ||
Date: Fri, 26 Aug 2016 21:17:38 +0200 | ||
Subject: [PATCH] Removed non-compiling assignment operator. Fixed #718 | ||
|
||
--- | ||
include/rapidjson/document.h | 2 -- | ||
1 file changed, 2 deletions(-) | ||
|
||
diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h | ||
index e3e20dfbd..b0f1f70be 100644 | ||
--- a/include/rapidjson/document.h | ||
+++ b/include/rapidjson/document.h | ||
@@ -316,8 +316,6 @@ struct GenericStringRef { | ||
|
||
GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {} | ||
|
||
- GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; } | ||
- | ||
//! implicit conversion to plain CharType pointer | ||
operator const Ch *() const { return s; } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters