summaryrefslogtreecommitdiff
path: root/tools/split-select/Main.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-11-03 12:05:15 -0800
committerAdam Lesinski <adamlesinski@google.com>2014-11-03 12:09:58 -0800
commitc3dc0b57b8d0b3875f868788e110aa67fb032b4a (patch)
treed29bf5702b81c4f283ae5e463af00c1e9327d459 /tools/split-select/Main.cpp
parent425b1dc88c47e0e9d3a653ad902a69f3ec09b966 (diff)
Build the split-select tool without C++11 support
It was complicated to get the tool building on Windows, Linux, and OSX with C++11 support. OSX uses Clang to build C++11 binaries, which requires the libc++ standard library. Since most of the dependencies of this program are built against libstdc++, this was difficult to resolve. Now we build without C++11 support. Change-Id: I4e537c113734508a8f480a1c402ed237de4f0e60
Diffstat (limited to 'tools/split-select/Main.cpp')
-rw-r--r--tools/split-select/Main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/split-select/Main.cpp b/tools/split-select/Main.cpp
index d6251c3c1511..434494ead3a8 100644
--- a/tools/split-select/Main.cpp
+++ b/tools/split-select/Main.cpp
@@ -63,7 +63,7 @@ static void help() {
class SplitSelector {
public:
- SplitSelector() = default;
+ SplitSelector();
SplitSelector(const Vector<SplitDescription>& splits);
Vector<SplitDescription> getBestSplits(const SplitDescription& target) const;
@@ -75,6 +75,9 @@ private:
Vector<SortedVector<SplitDescription> > mGroups;
};
+SplitSelector::SplitSelector() {
+}
+
SplitSelector::SplitSelector(const Vector<SplitDescription>& splits)
: mGroups(groupByMutualExclusivity(splits)) {
}