summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-08-12 22:35:04 +0200
committerHenning Baldersheim <balder@oath.com>2018-08-12 22:35:04 +0200
commitd38b49ddb881a67250ed738382d1ff72283cd45b (patch)
tree150bd862d7d66a2928b8b45773102ccedfb50eff /staging_vespalib
parentfded37d945ca2539c96621b9ae33806ebbadf875 (diff)
Remove whitespace
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/growablebytebuffer.cpp2
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/growablebytebuffer.h2
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp6
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/librarypool.h6
4 files changed, 8 insertions, 8 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/growablebytebuffer.cpp b/staging_vespalib/src/vespa/vespalib/util/growablebytebuffer.cpp
index 5276e5c7eb9..57e88873e81 100644
--- a/staging_vespalib/src/vespa/vespalib/util/growablebytebuffer.cpp
+++ b/staging_vespalib/src/vespa/vespalib/util/growablebytebuffer.cpp
@@ -69,7 +69,7 @@ GrowableByteBuffer::putDouble(double v)
}
void
-GrowableByteBuffer::putString(vespalib::stringref v)
+GrowableByteBuffer::putString(vespalib::stringref v)
{
putInt(v.size());
putBytes(v.data(), v.size());
diff --git a/staging_vespalib/src/vespa/vespalib/util/growablebytebuffer.h b/staging_vespalib/src/vespa/vespalib/util/growablebytebuffer.h
index d65cabd8cb7..beb7e93d343 100644
--- a/staging_vespalib/src/vespa/vespalib/util/growablebytebuffer.h
+++ b/staging_vespalib/src/vespa/vespalib/util/growablebytebuffer.h
@@ -70,7 +70,7 @@ public:
/**
Adds a string to the buffer.
*/
- void putString(vespalib::stringref v);
+ void putString(vespalib::stringref v);
/**
Adds a single byte to the buffer.
diff --git a/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp b/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp
index 010b9f57a33..71017e28c4c 100644
--- a/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp
+++ b/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp
@@ -173,7 +173,7 @@ JSONWriter::appendNull()
}
JSONWriter &
-JSONWriter::appendKey(stringref str)
+JSONWriter::appendKey(stringref str)
{
considerComma();
indent();
@@ -243,7 +243,7 @@ JSONWriter::appendUInt64(uint64_t v)
}
JSONWriter &
-JSONWriter::appendString(stringref str)
+JSONWriter::appendString(stringref str)
{
considerComma();
quote(str.data(), str.size());
@@ -252,7 +252,7 @@ JSONWriter::appendString(stringref str)
}
JSONWriter &
-JSONWriter::appendJSON(stringref json)
+JSONWriter::appendJSON(stringref json)
{
considerComma();
(*_os) << json;
diff --git a/staging_vespalib/src/vespa/vespalib/util/librarypool.h b/staging_vespalib/src/vespa/vespalib/util/librarypool.h
index f6afeb23e69..f9149589338 100644
--- a/staging_vespalib/src/vespa/vespalib/util/librarypool.h
+++ b/staging_vespalib/src/vespa/vespalib/util/librarypool.h
@@ -20,14 +20,14 @@ public:
* @param name The name of the library to load. That is without the 'lib' prefix and the '.so' extension.
* @throws IllegalArgumentException if there are any errors.
*/
- void loadLibrary(stringref name);
+ void loadLibrary(stringref name);
/**
* Will return the library requested. NULL if not found.
* @param name The name of the library as given in the @ref loadLibrary call.
* @return The library that has already been loaded. NULL if not found.
*/
- FastOS_DynamicLibrary *get(stringref name);
- const FastOS_DynamicLibrary *get(stringref name) const;
+ FastOS_DynamicLibrary *get(stringref name);
+ const FastOS_DynamicLibrary *get(stringref name) const;
private:
typedef std::shared_ptr<FastOS_DynamicLibrary> DynamicLibrarySP;
typedef std::map<vespalib::string, DynamicLibrarySP> LibraryMap;