/usr/include/synthesis/sysync_noncopyable.h is in libsynthesis-dev 3.4.0.47.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | /*
* File: sysync_noncopyable.h
*
* Author: Patrick Ohly (patrick.ohly@intel.com)
*
* Derive from sysync::noncopyable in all classes which must not be copied,
* for example because they contain pointers.
* Accidentally copying with the default copy constructor will then
* lead to compile instead of runtime errors.
*
* Same approach as in boost::noncopyable.
*
* Copyright (c) 2013 by Synthesis AG + plan44.ch
*/
#ifndef SYSYNC_NONCOPYABLE_H
#define SYSYNC_NONCOPYABLE_H
namespace sysync {
class noncopyable
{
protected:
noncopyable() {}
~noncopyable() {}
private:
noncopyable( const noncopyable& );
const noncopyable& operator=( const noncopyable& );
};
} // namespace sysync
#endif // SYSYNC_NONCOPYABLE
|