Revision: 74268
http://sourceforge.net/p/brlcad/code/74268
Author: brlcad
Date: 2019-10-30 19:02:48 +0000 (Wed, 30 Oct 2019)
Log Message:
-----------
wow, thanks clang 11 for making this incredibly difficult to intepret and
diagnose. end result: the comparison function needs to be const.
Modified Paths:
--------------
brlcad/trunk/src/libged/attr.cpp
Modified: brlcad/trunk/src/libged/attr.cpp
===================================================================
--- brlcad/trunk/src/libged/attr.cpp 2019-10-30 16:01:46 UTC (rev 74267)
+++ brlcad/trunk/src/libged/attr.cpp 2019-10-30 19:02:48 UTC (rev 74268)
@@ -25,9 +25,10 @@
#include "common.h"
+#include <utility>
+#include <string>
#include <set>
-#include <string.h>
-#include <stdlib.h>
+#include <cstdlib>
#include "bu/getopt.h"
#include "bu/path.h"
@@ -151,7 +152,7 @@
}
struct avsncmp {
- bool operator () (const std::pair<std::string, std::string> &p_left, const
std::pair<std::string, std::string> &p_right)
+ bool operator () (const std::pair<std::string, std::string> &p_left, const
std::pair<std::string, std::string> &p_right) const
{
long l1, l2;
char *endptr = NULL;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits