libhsared: migrating from local to libshared

This commit is contained in:
Paul Beckingham
2016-12-06 07:20:45 -05:00
parent 456925a02b
commit 355620c640
88 changed files with 185 additions and 510 deletions

View File

@@ -31,7 +31,8 @@
#include <algorithm>
#include <main.h>
#include <Lexer.h>
#include <text.h>
#include <shared.h>
#include <format.h>
#include <i18n.h>
#include <string>
@@ -130,8 +131,7 @@ Color::Color (const std::string& spec)
: _value (0)
{
// Split spec into words.
std::vector <std::string> words;
split (words, spec, ' ');
auto words = split (spec, ' ');
// Construct the color as two separate colors, then blend them later. This
// make it possible to declare a color such as "color1 on black", and have