Store project style settings in VCS.
I'm sick of getting my settings stomped on every god damn time I open CLion.
This commit is contained in:
@@ -44,20 +44,20 @@ anonymousName()
|
||||
|
||||
|
||||
Buffer::Buffer()
|
||||
: name(anonymousName()), path(std::nullopt), file(std::nullopt)
|
||||
: name(anonymousName())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Buffer::Buffer(std::string fName)
|
||||
: name(std::move(fName)), path(std::nullopt), file(std::nullopt)
|
||||
: name(std::move(fName))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
Buffer::Buffer(std::string fName, std::string fPath)
|
||||
: name(std::move(fName)), path(std::move(fPath)), file(std::nullopt)
|
||||
: name(std::move(fName)), path(std::move(fPath))
|
||||
{
|
||||
if (this->path) {
|
||||
this->file = OptFile(File(this->path.value()));
|
||||
|
||||
Reference in New Issue
Block a user