src-highlite.git - src-highlite

index : src-highlite.git
src-highlite
summary refs log tree commit diff
path: root/lib/srchilite/linebuffer.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020年06月10日 22:35:15 -0600
committerTom Tromey <tom@tromey.com>2023年01月29日 18:23:29 -0700
commitd2bfd88a741cc7e2384c94a6d2104b3e5a458371 (patch)
tree48e1fcce1d114b47df35721fdad59f7b2549eaca /lib/srchilite/linebuffer.h
parente45099f4068ba514d1a934ccbf079c23e6ca08fb (diff)
downloadsrc-highlite-d2bfd88a741cc7e2384c94a6d2104b3e5a458371.tar.gz
Use std::shared_ptr
This removes the use of boost::shared_ptr, in favor of std::shared_ptr. This is an incremental step toward fully requiring C++11 and removing the Boost dependency.
Diffstat (limited to 'lib/srchilite/linebuffer.h')
-rw-r--r--lib/srchilite/linebuffer.h 4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/srchilite/linebuffer.h b/lib/srchilite/linebuffer.h
index 9e6ab6d..dfbc815 100644
--- a/lib/srchilite/linebuffer.h
+++ b/lib/srchilite/linebuffer.h
@@ -9,7 +9,7 @@
#include <string>
#include <set>
-#include <boost/shared_ptr.hpp>
+#include <memory>
#include <sstream>
@@ -70,7 +70,7 @@ public:
};
/// shared pointer for LineBuffer
-typedef boost::shared_ptr<LineBuffer> LineBufferPtr;
+typedef std::shared_ptr<LineBuffer> LineBufferPtr;
}
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月08日 02:54:23 +0000

AltStyle によって変換されたページ (->オリジナル) /