From: Mikko Rasa Date: Tue, 30 Apr 2013 11:07:27 +0000 (+0300) Subject: Fix whitespace errors X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=07503a34b80778fe74977f0fb0c2094c92d64ce0;p=builder.git Fix whitespace errors --- diff --git a/source/component.cpp b/source/component.cpp index 566cf88..371e145 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -82,7 +82,7 @@ void Component::create_build_info() build_info.libs.push_back((*i)->get_name()); if(!(*i)->get_install()) { - build_info.libmodes[(*i)->get_name()] = BuildInfo::STATIC; + build_info.libmodes[(*i)->get_name()] = BuildInfo::STATIC; build_info.libpath.push_back((*i)->get_package().get_source_directory()); } } diff --git a/source/objectfile.cpp b/source/objectfile.cpp index 321b954..cee8c87 100644 --- a/source/objectfile.cpp +++ b/source/objectfile.cpp @@ -11,7 +11,7 @@ using namespace Msp; ObjectFile::ObjectFile(Builder &b, const Component &c, SourceFile &s): FileTarget(b, c.get_package(), generate_target_path(c, s.get_path())), - source(s) + source(s) { component = &c; add_dependency(source); diff --git a/source/virtualfilesystem.cpp b/source/virtualfilesystem.cpp index 2f4ee64..5c54898 100644 --- a/source/virtualfilesystem.cpp +++ b/source/virtualfilesystem.cpp @@ -118,7 +118,7 @@ FileTarget *VirtualFileSystem::find_library(const string &lib, const SearchPath if(++j==cur_names->end()) { - if(mode==BuildInfo::DYNAMIC && cur_names==&shared_names) + if(mode==BuildInfo::DYNAMIC && cur_names==&shared_names) cur_names = &static_names; else if(mode==BuildInfo::STATIC && cur_names==&static_names) cur_names = &shared_names;