Use std::shared_ptr - src-highlite.git - src-highlite

index : src-highlite.git
src-highlite
summary refs log tree commit diff
path: root/lib/srchilite/textstyles.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/textstyles.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/textstyles.h')
-rw-r--r--lib/srchilite/textstyles.h 2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/srchilite/textstyles.h b/lib/srchilite/textstyles.h
index f907b49..2a54679 100644
--- a/lib/srchilite/textstyles.h
+++ b/lib/srchilite/textstyles.h
@@ -74,7 +74,7 @@ struct TextStyles {
};
/// shared pointer
-typedef boost::shared_ptr<TextStyles> TextStylesPtr;
+typedef std::shared_ptr<TextStyles> TextStylesPtr;
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月09日 18:37:12 +0000

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