diff options
author | Joe George <joe@zeroc.com> | 2016-06-13 14:16:45 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2016-06-13 14:16:45 -0400 |
commit | c734ce59a48b0422b1b0c9bddd9bc0a56bdfbd85 (patch) | |
tree | c0c227e57385a939354e7ed98876ef237f3fa8e0 /cpp/src/Ice/InputStream.cpp | |
parent | Rename Ice Touch references to Ice (diff) | |
download | ice-c734ce59a48b0422b1b0c9bddd9bc0a56bdfbd85.tar.bz2 ice-c734ce59a48b0422b1b0c9bddd9bc0a56bdfbd85.tar.xz ice-c734ce59a48b0422b1b0c9bddd9bc0a56bdfbd85.zip |
ICE-7179 - Update std::function code style
Diffstat (limited to 'cpp/src/Ice/InputStream.cpp')
-rw-r--r-- | cpp/src/Ice/InputStream.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/Ice/InputStream.cpp b/cpp/src/Ice/InputStream.cpp index 3a68ba04040..bfba4b17eec 100644 --- a/cpp/src/Ice/InputStream.cpp +++ b/cpp/src/Ice/InputStream.cpp @@ -216,7 +216,7 @@ Ice::InputStream::setLogger(const LoggerPtr& logger) void #ifdef ICE_CPP11_MAPPING -Ice::InputStream::setCompactIdResolver(std::function<std::string (int)> r) +Ice::InputStream::setCompactIdResolver(std::function<std::string(int)> r) #else Ice::InputStream::setCompactIdResolver(const CompactIdResolverPtr& r) #endif @@ -1329,7 +1329,7 @@ Ice::InputStream::resolveCompactId(int id) const string type; #ifdef ICE_CPP11_MAPPING - function<string (int)> resolver = compactIdResolver(); + function<string(int)> resolver = compactIdResolver(); #else CompactIdResolverPtr resolver = compactIdResolver(); #endif @@ -1442,7 +1442,7 @@ Ice::InputStream::logger() const } #ifdef ICE_CPP11_MAPPING -function<string (int)> +function<string(int)> Ice::InputStream::compactIdResolver() const { if(_compactIdResolver) @@ -1528,7 +1528,7 @@ Ice::InputStream::EncapsDecoder::newInstance(const string& typeId) // Try to find a factory registered for the specific type. // #ifdef ICE_CPP11_MAPPING - function<ValuePtr (const string&)> userFactory; + function<ValuePtr(const string&)> userFactory; if(_valueFactoryManager) { userFactory = _valueFactoryManager->find(typeId); @@ -1571,7 +1571,7 @@ Ice::InputStream::EncapsDecoder::newInstance(const string& typeId) if(!v) { #ifdef ICE_CPP11_MAPPING - function<ValuePtr (const string&)> of = IceInternal::factoryTable->getValueFactory(typeId); + function<ValuePtr(const string&)> of = IceInternal::factoryTable->getValueFactory(typeId); if(of) { v = of(typeId); |