Reordered things to make it more pleasant to the brain.
the build was successful Details

This commit is contained in:
tastytea 2018-12-29 06:19:53 +01:00
förälder 93e079cc89
incheckning e662b73918
Signerad av: tastytea
GPG-nyckel ID: CFC39497F1B26E07
1 ändrade filer med 4 tillägg och 4 borttagningar

Visa fil

@ -22,10 +22,10 @@
#include <iostream>
#include <string>
#include <fstream>
#include <libconfig.h++>
#include <basedir.h>
#include <cstdlib>
#include <unistd.h>
#include <libconfig.h++>
#include <basedir.h>
#include "xdgcfg.hpp"
#include "version.hpp"
@ -34,7 +34,6 @@
#else
namespace fs = std::experimental::filesystem;
#endif
using std::cout;
using std::cerr;
using std::endl;
@ -102,7 +101,7 @@ int main(int argc, char *argv[])
if (out.is_open())
{
string buf;
std::getline(in, buf);
std::getline(in, buf); // Shebang
std::getline(in, buf);
if (buf.substr(0, 16).compare("//compilescript:") == 0)
{
@ -141,5 +140,6 @@ int main(int argc, char *argv[])
cerr << "usage: " << argv[0] << " file [arguments]\n";
std::exit(1);
}
return 0;
}