lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 5d71aea 8/8: Remove obsolete references to bo


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 5d71aea 8/8: Remove obsolete references to boost
Date: Sun, 25 Feb 2018 17:15:14 -0500 (EST)

branch: master
commit 5d71aeae0d1eeed50b878e35519f1368d3178da3
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Remove obsolete references to boost
    
    * callback.hpp: s/boost::/std::/
    * database_view_editor.hpp: Likewise.
    * miscellany.cpp: Absence of dependency on boost is a good thing.
---
 callback.hpp             | 2 +-
 database_view_editor.hpp | 2 +-
 miscellany.cpp           | 3 ---
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/callback.hpp b/callback.hpp
index 99881eb..4339e38 100644
--- a/callback.hpp
+++ b/callback.hpp
@@ -89,7 +89,7 @@
 ///
 /// Future directions.
 ///
-/// Perhaps this class could be supplanted by boost::function. One of
+/// Perhaps this class could be supplanted by std::function. One of
 /// those facilities should be used in 'progress_meter*.?pp' and in
 /// 'alert*.?pp'.
 
diff --git a/database_view_editor.hpp b/database_view_editor.hpp
index 75ce05d..3fd7e45 100644
--- a/database_view_editor.hpp
+++ b/database_view_editor.hpp
@@ -99,7 +99,7 @@ class DatabaseTableAdapter
     bool DoApplyAxisAdjustment(MultiDimAxisAny&, unsigned int) override;
     bool DoRefreshAxisAdjustment(MultiDimAxisAny&, unsigned int) override;
 
-    /// Helper, converts array of boost::any into array of ints
+    /// Helper, converts array of std::any into array of ints
     static void ConvertValue(Coords const&, std::vector<int>&);
 
     bool IsVoid() const;
diff --git a/miscellany.cpp b/miscellany.cpp
index 54a4343..ebdf300 100644
--- a/miscellany.cpp
+++ b/miscellany.cpp
@@ -80,9 +80,6 @@ std::size_t count_newlines(std::string const& s)
 
 std::vector<std::string> split_into_lines(std::string const& s)
 {
-    // BOOST !! Unfortunately boost::split() can't be easily used with the
-    // current ancient version of the library (1.33), so we reimplement it
-    // here.
     std::vector<std::string> lines;
     std::string line;
     for(std::string::const_iterator i = s.begin(); ; ++i)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]